New filePro quiz

flowersoft at compuserve.com flowersoft at compuserve.com
Sun Aug 14 04:16:42 PDT 2011


Correct.  More specifically, when the user pressed a key in response to the
input popup question.

-----Original Message-----
From: Ken Cole [mailto:ken.m.cole at gmail.com] 
Sent: Sunday, August 14, 2011 6:32 AM
To: flowersoft at compuserve.com
Cc: Kenneth Brody; FilePro Mailing List
Subject: Re: New filePro quiz

Line 4, as lines 2 and 3 will be false beacuse @sk was re-set as part
of the input popup

On Sun, Aug 14, 2011 at 7:40 AM,  <flowersoft at compuserve.com> wrote:
>> Well, so far I've only gotten one answer off-list, and two not-quite  >
> answers on-list.
>
> Let's make it simpler.
>
> 1------ If: @sk="save"
>        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
>
> Assuming that line #1 is TRUE, what would be the next line filePro will
> evaluate as TRUE and why?
>
> Guys & gals, don't be afraid to answer.  I'll be the first one to admit
that
> after almost 30 years of coding in filePro, I was not aware of this, even
> though it makes complete sense.  I couldn't even argue with Ken and you
all
> know how I love to do that. :-)
>
> _______________________________________________
> 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