Quick checks of code, math, and VB functionality

Posted by Vaejor on Mon 27 May 2002 03:19 PM — 1 posts, 9,584 views.

#0
Every now and then I want to do a quick math equation, so I threw this in. I also found it useful for debugging global variables or VBScript functionality.


<alias
 name="do_eval"
 script="do_eval"
 match="eval *"
 enabled="y"
>
</alias>



Sub do_eval(ByVal strName, ByVal strLine, ByVal astrParam())
  world.Note "Eval returns: " & Eval(astrParam(1))
End Sub