Kinook Software Forum

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

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 10-25-2006, 05:52 PM
FrankP FrankP is online now
Registered User
 
Join Date: 10-25-2006
Posts: 2
Using variable args in the Script Editor (VBuild 6)

Is this possible? I am trying to port some WSH scripts into the Script Engine, and a lot of them parse the last arg in the parameter list.

Alternately, is there some way to call external scripts to set macros, etc., using the [] notation?

Thanks.
Reply With Quote
  #2  
Old 10-25-2006, 08:56 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Re: Using variable args in the Script Editor (VBuild 6)

Quote:
Originally posted by FrankP
Is this possible? I am trying to port some WSH scripts into the Script Engine, and a lot of them parse the last arg in the parameter list.
One way would be to pass an array as the last argument, then parse the array in the function.

Quote:
Alternately, is there some way to call external scripts to set macros, etc., using the [] notation?
You could create a script function which shells to cscript and call that from a script expression.
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 06:31 PM.


Copyright © 1999-2023 Kinook Software, Inc.