I've got a fairly complex VB script that I'm writing in FB that would be greatly simplified if I could divide the code into subroutines. But, I'm not sure how to do that. Can you use subroutines or functions within a script?
Thanks
I've got a fairly complex VB script that I'm writing in FB that would be greatly simplified if I could divide the code into subroutines. But, I'm not sure how to do that. Can you use subroutines or functions within a script?
Thanks
Hi Paul
Yes you can, have a look a the project menu, there is a menu item called “Project Global Script”, you can add functions and subroutines in there for both VBScript and JavaScript. These functions can then be called from the action script events.