[Sidefx-houdini-list] Running a script tosetvariablesfromaC-shell script

Robert D.M. Smith robert.dm.smith at rogers.com
Tue Feb 28 13:26:01 EST 2006


--- Robert Persons <robert at adtechinc.com> wrote:

> Wow!!
> 
> The "-p" option works!!  What does it mean?


>From the help line:

-p
    Set the variable in the calling (parent) script.
This
    option lets you return values from within sourced
scripts,
    by directly setting a variable in the caller

I've used it a few times when working with
hscript/tcl. Quite handy. Have fun!

Cheers,
   Rob



More information about the Sidefx-houdini-list mailing list