More specific question on @SK

flowersoft at compuserve.com flowersoft at compuserve.com
Sat Aug 13 19:23:42 PDT 2011


> Of course!  Once I try it it seems obvious.  The act of pressing Enter >
on the first message box changes the @sk to "ENTR", so it would not be >
true the second time, and therefore you would see the message box on >  >
line 2 instead.

> Jeff Harrison
> jeffaharrison at yahoo.com
> Author of JHExport and JHImport

That's why I think he should not have used that example.  It is obvious that
@sk="ENTR" after the message box is displayed because the user has to hit
<Enter> to get rid of it.
Is something even more subtle.
Go back to the example I posted where I said that assuming line #1 was true,
which of the other 3 lines would be evaluated as TRUE by filePro.
Here is the code again:
1------ If: @sk="save"   <---- assume this line is TRUE
	Then: input popup yn "Do You want to Exit? (Y/n) " default "Y"
2-------If: @sk="save" and rs ne "N"
      Then: exit
3-------If: @sk="save" and rs eq "N"
      Then: screen , at fd
4-------If:
      Then: end



More information about the Filepro-list mailing list