More specific question on @SK
Jeff Harrison
jeffaharrison at yahoo.com
Sat Aug 13 15:20:47 PDT 2011
----- Original Message -----
> From: Kenneth Brody <kenbrody at spamcop.net>
> To: 'FilePro Mailing List' <filepro-list at lists.celestial.com>
> Cc:
> Sent: Saturday, August 13, 2011 5:39 PM
> Subject: More specific question on @SK
>
> Okay, since I've only gotten one (partially-incorrect) answer off-list, and
> two vague attempts at answers on-list, here is my more direct question.
>
> Given the following processing[1], what would you expect to see on-screen
> when you press [SAVE] on a field?
>
> ==========
> TheTop If: @sk = "save"
> 1 Then: mesgbox "Here we are at TheTop with SAVE" ; end
> If:
> 2 Then: mesgbox "Here we are at TheTop with @sk='" & @sk
> & "'" ; end
> @wlf* If: @sk = "save"
> 3 Then: goto TheTop
> If:
> 4 Then: end
> ==========
>
> No fair actually running it in filePro until after you answer. If you want
> to run it afterwards, you are free to do so. If what you see doesn't match
> your expectations, explain what differences you saw, and explain why you
> thought your answer was correct.
>
>
[snip]
I would expect the message box on line 1 to execute twice. Once as part of the when processing, and then again as part of the regular input processing. I have not tried it however to verify.
Jeff Harrison
jeffaharrison at yahoo.com
Author of JHExport and JHImport.
More information about the Filepro-list
mailing list