Hi Alex
It seems we are using the word "expression" differently.
I cannot agree that:
>For the record, &(1) is indeed a silly thing to ever look at,
>but it is a perfectly valid expression. It simply evaluates to 1.
I prefer to use Expression vs Literal like this:
Some things expect Expressions, such as: win.debug(expr)
Other things expect Literals, such as: debug some text
&(expr) is not an expression, it is a literal
in the sense that it is acceptable where literal text
is expected, not where an expression is expected.
Similarly this is a literal: some words
This is an expression: "some words"
(note the quotes) because it is acceptable where literal text
is expected.
In other words something is an Expression if PowerPro
doesn't complain "Bad expression".
You wrote:
>Win.Debug(&(String))
>should equate to
>Win.Debug(1 + 2)
>
>However, it seems to equate to:
>Win.Debug(1 + 2
Seems to me you should use either: debug &(String)
or: win.debug(String)
whereas: win.debug(&(String))
is putting a spanner in the works
by converting the expression into a literal
where an expression is expected.
whereas: win.debug("&(String)")
works because after converting the Expression: String
into a Literal by using &(), the quotes convert that
Literal back into being an acceptable Expression.
I would not consider it a bug if Powerpro wasn't designed
to handle all faulty syntax perfectly, because the total number
of possible bad syntax is infinite and a program cannot have
an intelligent response to every possible random input
without requiring a huge exe and a huge amount of time
to program it.
Alan M
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/JV_rlB/TM
---------------------------------------------------------------------~->
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/