Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-12-2004, 11:38 AM
Sotorin Sotorin is online now
Registered User
 
Join Date: 05-07-2003
Posts: 7
Scope of script objects and VisBuild steps

Hi,
I have a script w/ some additional functionality which is easy to add to a project via Insert->Build In->Script. This script is rather large and it takes few minutes before it completes its work.

1. How can I split this script up into smaller steps BUT in such way that variables do not go out of scope? I have a case that several functions (I'd like them to become steps in a project) will operate on the same file and I don't want to save and reopen this file every single time when when step means executing separate script file. In that case all my variables would go out of scope when I end script execution and I would have to set them again when I begin executing next step (next script).

2. I have seen various tabs in Script Editor and one of them is Project Tab. Can I instantiate an object or set a variable of global (Project) scope and have be available in to all scripts which will execute throughout the project?

I'd appreciate some pointers here but I'll try to experiment on my own as well.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 06:55 PM.


Copyright © 1999-2023 Kinook Software, Inc.