restart question...
Scott Walker
ScottWalker at RAMSystemsCorp.com
Thu Feb 7 20:01:33 PST 2013
> -----Original Message-----
> From: filepro-list-
> bounces+scottwalker=ramsystemscorp.com at lists.celestial.com
> [mailto:filepro-list-
> bounces+scottwalker=ramsystemscorp.com at lists.celestial.com] On Behalf Of
> Mike Schwartz
> Sent: Thursday, February 07, 2013 10:06 PM
> To: filePro Mailing List
> Subject: restart question...
>
> 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 Im
> missing
> something:
>
>
>
> 27 ------- - - - - -
>
> þ If: 94 eq ""
>
> Then: screen 3 81; restart
>
>
>
> Two things:
>
>
>
> There isnt a comma between the 3 and 81. I thought that would
> cause a syntax error, but it passes.
>
>
Scott said:
I've never seen that syntax either.
>
> 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 isnt doing anything.
>
>
Scott said:
If the "screen" is encountered in When Processing, then it effectively acts
like an "end". It puts the user on the screen and the when processing ends
there.
If the "screen" is encountered in "normal" processing (like when the user
press <ESC><ESC> to record the record, then the user is put on the specified
screen. When they record that screen, processing picks up at the line after
the screen command.
>
> After a screen command, doesnt 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, Im 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