Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Using variable args in the Script Editor (VBuild 6) (https://www.kinook.com/Forum/showthread.php?t=2118)

FrankP 10-25-2006 05:52 PM

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.

kinook 10-25-2006 08:56 PM

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.


All times are GMT -5. The time now is 10:41 PM.


Copyright © 1999-2023 Kinook Software, Inc.