NEW QUIZ #2
Kenneth Brody
kenbrody at spamcop.net
Fri Aug 19 07:03:01 PDT 2011
(Why are your replies not including attributions? Well, at least your copy
of Outlook is properly quoting now.)
On 8/19/2011 9:48 AM, flowersoft at compuserve.com wrote:
[... quoting Laura ...]
>>> Quoting George Simon<george at flowersoftusa.com>:
>
>>> What is the only 3-letter long variable that cannot be used
>>> effectively in filePro?
>
>> Would you be thinking of DIM, END or something else?
>
> I thought you we not allowed to play. Didn't you teach Ken everything he
> knows? ;-)
>
> Actually no, I was not thinking of DIM or END. I was thinking of NOT.
>
> I see no problem with DIM if you are not using arrays.
Well, that's a big "if". :-)
(Which goes back to my question of "used effectively".)
> END cannot be used because you cannot assign a value to it.
No? This works just fine:
Then: declare end
Then: end = "This is the end"
Then: mesgbox end
Of course, you can no longer have an "end" statement, which might be a
little restrictive.
> I was thinking of NOT because even though you can assign a value to it, you
> cannot check it to see what value it contains.
>
> If: YES eq 22
> Then: NOT=YES
> If: NOT eq YES
> Then: gosub SOANDSO
>
> The first line passes syntax but not the second one.
But:
If: YES eq NOT
Then: gosub SOANDSO
works just fine.
--
Kenneth Brody
More information about the Filepro-list
mailing list