restart question...
Bruce Easton
bruce at stn.com
Thu Feb 7 19:57:17 PST 2013
Mike, what is the governing trigger for this section of code? (at top of
table, triggered solely by ESC ESC; @when-field; @update, etc.) That
would make a difference for the answer. If it is just triggered by ESC
ESC and processing occurs from the top of the table and winds up there,
and meets that condition, then when screen 3 is saved, processing should
continue after the semi-colon (executing the restart command). If this
was part of @wlf processing, then I would expect it to behave as you
thought it would.
Bruce
On 2/7/13 10:05 PM, Mike Schwartz wrote:
> Since the list has been a little slow, I came across this line of code
> that bothered me. Before I rewrite it, I thought I would ask if I’m missing
> something:
>
>
>
> 27 ------- - - - - -
>
> þ If: 94 eq ""
>
> Then: screen 3 81; restart
>
>
>
> Two things:
>
>
>
> There isn’t a comma between the 3 and 81. I thought that would cause a
> syntax error, but it passes.
>
>
>
> Does the “restart” have any effect at all? I thought with a “screen”
> command, processing immediately terminates and I would bet that this restart
> really isn’t doing anything.
>
>
>
> After a screen command, doesn’t the processing always “restart” at line
> 1 after the user presses ESC-ESC after filling in field 94?
>
>
>
> If it makes and difference, this is filePro version 5.0.14R4 running on
> SCO Openserver 5.0.7
>
>
>
> The only reason I ask is that this code was written by a programmer I
> really respect. And no, I’m not going to mention any names. However, I
> suppose somebody could have mucked with the code after it was originally
> written.
>
>
>
> Thanks!
>
>
>
> Mike Schwartz
>
>
>
>
>
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20130207/d67bb5a5/attachment.html
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
More information about the Filepro-list
mailing list