Hi Bruce,
Another user has had a problem with the difference between
If(condition) vs If(condition)do
  
Today it was Steve "rainmanf1" in the Beginners forum.

I think it would be helpful if PowerPro always shows an error
message when it finds an Else which does not have a matching
If(condition)do [with the "do"] before it.

Something like:
"Else" found without "If(condition)do" before it.
Press Cancel to end all running scripts.


Also I think all orphaned Endifs, including an Endif which
is used after If(condition), instead of If(condition)do,
should show an error message, because it seems that people
expect all three Result lines to be NOT executed if the condition
is not true in the following script:

  If(condition)
    Debug Result line 1
    Debug Result line 2
    Debug Result line 3
  Endif
  Debug This line is always run

Actually Result line 2 and 3 are always executed.
That result is correct and should not be changed
but it is not what most users expect so it needs an error message
about the orphan Endif.

Alan M



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/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/
 



Reply via email to