> The issue is that
> .filename(arg1, arg2, ...)
> is parsed using PowerPro's expression parser, since the arg list
> could contain any expression. So currently the file name has to
be
> valid identifier.
>
> I suppose I could allow : and \ in this one circumstance only,
I tried adding : and \ to PowerPro as legal and then tested
.c:\program files\powerpro\scripts\echo("test","args")
and of course it failed because I forget about spaces in file
names.
It does not seem a good idea at all to allow spaces to be included
in normal parsing.
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.
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.
To be honest, I don't like any of these.
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/