Hello all,
I agree with both Alan's with an additional twist (of course).
Ugly but IMHO makes sense to me (consistent with exising
syntax):
Case#1
scriptpath (scriptpath ++ ?";Z:\pathToScript", ;;+
[EMAIL PROTECTED] ("test","args")#)
Case#2
scriptpath (?"Z:\pathToScript"++ ";"++ scriptpath, ;;+
[EMAIL PROTECTED] ("test","args")#)
OR I prefer Case#3
scriptpath (?"Z:\pathToScript", [EMAIL PROTECTED] ("test","args")#, ;;+
switch3, switch4)
Assuming Bruce would auto add the folder to the scriptpath in
Case#3.
Case#3 includes an optional third argument to indicate whether
the path is added to the front or end of scriptpath even if it
already existed in the scriptpath. If third argument was ""
then ??? (maybe remove existing path from scriptpath variable
and add to front or end).
And maybe a fourth optional argument that removes the
scriptpath from "Script Path" when the script is done. I think
you can do this now?
Then Plugin demonstrators could then run test scripts in any
folder and leave the user's existing scriptpath unscathed when
the script exits.
scriptpath (?"pathToTestFolder", CB ("@label", "test","args"), ;;+
"add to front", "remove when done")
Or if above is too difficult, users could at end of script:
scriptpathRemove (?"pathToTestFolder")
Plugin test scripts could begin with the same. And if a
pluginfolder script said "add to front", "remove when done",
you would include and undo so, even if the path existed in
the existing scriptpath.
"10 step Ted"
--- In [email protected], "brucexs" wrote:
> ...
> 2. Use a special function
>
> call(?"c:\program files\powerpro\scripts\echo", "test","args")
>
> ...
> Any thoughts?
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Great things are happening at Yahoo! Groups. See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~->
Attention: PowerPro's Web site has moved: http://www.ppro.org
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/