Hi Bruce,
--- In [email protected], "brucexs" <[EMAIL PROTECTED]> wrote:
> It does not seem a good idea at all to allow spaces to be included
> in normal parsing.
No.
> So possibilities if I want to pursue full paths in script calls.
>
> 1. Force quoted file names:
> .?*c:\program files\powerpro\scripts\echo* ("test","args")
> Ugly but workable. Of course, you would have to hard code paths or
> do some string manipulation to generate a call in a do statement for
> a variable path.
> 2. Use a special function
>
> call(?"c:\program files\powerpro\scripts\echo", "test","args")
> Seems dumb to have to use a function just to call a function.
See below
> 3. Kludge up a special case. Right now, calls to scripts can occur
> anywere, such as
>
> var ++ .IReturnAString("stuff")
> The third idea would not be able to handle something like the above,
> but it would be possible to implement something which worked for the
> case
> .c:\path \script.file("args")
> or
> runfile.c:\path \script.file("args")
> ie the kludge would be that you could only use full path for cases
> where the whole statement was a script call. This also only works
> for hard-coded paths unless you do some string manipulation.
Ugly.
> To be honest, I don't like any of these.
> Any thoughts?
>
what about do()?
do(.?"c:\program files\powerpro\scripts\echo", "test","args")
(you'd have to look out for the initial ., meaning, "watch out,
script call about").
or
do(?".c:\program files\powerpro\scripts\echo", "test","args")
(ditto)
------------------------ 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/