filePro Quiz
flowersoft at compuserve.com
flowersoft at compuserve.com
Wed Aug 10 22:19:31 PDT 2011
Lines 1 and 4 are TRUE.
The real question is how would filePro evaluate lines 2 and 3 if the user pressed "N" at line 1.
-----Original Message-----
From: filepro-list-bounces+flowersoft=compuserve.com at lists.celestial.com [mailto:filepro-list-bounces+flowersoft=compuserve.com at lists.celestial.com] On Behalf Of Walter Vaughan
Sent: Wednesday, August 10, 2011 12:03 PM
To: filePro
Subject: Re: filePro Quiz
Since only line one has an actionable label (that is you can test "if: TOP")
then only that line that could be true, since you cannot test line 2
without a label.
You might think line 2 is true or false, but you cannot know without a
label.
You might see the result of 2, but you don't know (within filePro) whether
it was true or false for sure.
George Simon wrote:
>Which lines would evaluate as TRUE below if the user hits <N> at line #1?
>
> ACTION D E F I N E P R O C E S S I N G 5.0.14RN9
>────────────────────────────────────────────────────────────────────────────────
> 1 ------- - - - - - - - - - - - - - - - -
>TOP ◄ If: @sk="save" ◄
> Then: input popup yn "Do You Want to Exit? (Y/n) " default "Y" ◄
> 2 ------- - - - - - - - - - - - - - - - -
> ◄ If: @sk="save" and yn ne "N" ◄
> Then: end ◄
> 3 ------- - - - - - - - - - - - - - - - -
> ◄ If: @sk="save" ◄
> Then: screen ,(@fd) ◄
> 4 ------- - - - - - - - - - - - - - - - -
> ◄ If: ◄
> Then: end ◄
> 5 ------- - - - - - - - - - - - - - - - -
>@wlf* ◄ If: ◄
> Then: pushkey "[save]" ◄
> 6 ------- - - - - - - - - - - - - - - - -
> ◄ If: ◄
> Then: end ◄
>
>
>_______________________________________________
>Filepro-list mailing list
>Filepro-list at lists.celestial.com
>Subscribe/Unsubscribe/Subscription Changes
>http://mailman.celestial.com/mailman/listinfo/filepro-list
>
>
_______________________________________________
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