filePro Quiz

Walter Vaughan wvaughan at steelerubber.com
Wed Aug 10 09:02:35 PDT 2011


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
>  
>



More information about the Filepro-list mailing list