Kinook Software Forum

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

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-14-2007, 12:22 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,027
Within the Script field of a Run Script action, this is normal. That field is processed like another other step field: Any macros (%MACRO_NAME%) or script expressions ([code here]) are evaluated before using the field value.
http://www.visualbuild.com/Manual/stepproperties.htm

In the case of a Run Script action, the expanded value is then passed to a script host engine for parsing and execution.

This does not apply to code in the Script Editor, so if you wrap the code in a function, add it to, say, project scripts, and then call that function from a Run Script step, any macro references (within code or comments) in the Script Editor code will not be evaluated.
http://www.visualbuild.com/Manual/scripteditor.htm
Reply With Quote
Reply


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 12:21 AM.


Copyright © 1999-2023 Kinook Software, Inc.