New filePro quiz
Ken Cole
ken.m.cole at gmail.com
Sun Aug 14 03:31:30 PDT 2011
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