interesting add-on point about syntax checker...
Jose Lerebours
fp at fpgroups.com
Thu Dec 11 04:49:36 PST 2008
John posted:
>Just as a quick add-on.... Ken probably knows this... and I've known it for
>a while... but many of you may not know it... If filePro sees:
>
> If: something
> Then: something; something; goto loop_f goto more
>
>It will ignore the goto more and not give a syntax error.
>
>It probably shouldn't... But, if you have a long line that goes off the
>screen and you think it is doing a goto more... but you have another goto
>destination before it... this supercedes the last goto of course. Even if
>you put a semicolon there between the goto's it obviously is never going to
>get to the second one. :-)
>
That it does not give a syntax error, interesting but not surprising.
Expecting to have multiple GOTO commands in one line and expect the
process to return to execute them is both, interesting and surprising.
Did you mean GOSUB not GOTO?
--
Jose Lerebours
http://www.fpgroups.com
954-559-7186
filePro + PHP Solution Developer
More information about the Filepro-list
mailing list