Debugging VBscript

I often use Run Script actions to do some VBScript.  However, it can be a bit painful to develop scripts because the Script Editor isn't an IDE.   What is the best way to delelop\debug script? 

Can Functions in VBScript be used in a given event tab (eg. OnExecute)?   I'm trying to use a Function at the moment but it errors with a compilation/syntax error on the function declaration 'Function FunctionName()' line. 

Thanks,

Clive

Hi Clive

You need either the Microsoft Script debugger :

http://www.microsoft.com/downloads/en/details.aspx?familyid=2F465BE0-94FD-4569-B3C4-DFFDF19CCD99&displaylang=en

Or Visual Studio (2002 or later) installed on the machine.

You may also need to enable script debugging in the FinalBuilder Options (under FinalBuilder\Script Options).

Thanks Vincent