case insensative ambiguity between labels and long variables ?

Brian K. White brian at aljex.com
Mon Jul 11 14:55:33 PDT 2005


Would you say I should or should not be able to do this?

report processing


-------top of table-------
...
withpod: if: WithPOD eq "Y"
then: stuff
if: withpod
then: stuff
...
end
@once
if:
then: WithPOD = "N"
if:
then: input popup WithPOD "Include POD? \GZ" DEFAULT "N"
if:
then: end
if:
then: declare WithPOD(48,*,g)
-------end of table-------

Originally that table worked fine with the long variable and only one line 
of code conditional on it, and no "withpod" label

When I went to add another line of code that hinges on WithPOD, I added the 
label to end up with code like above.

When I went to save it it gave me a syntax error on the withpod label saying 
that it's already used. withpod does not appear anywhere else as a label, or 
anywhere else at all in all lower case except where you see it above in the 
if: test.

Easy to work around of course but as far as I'm concerned there wasn't any 
ambiguity there and I beleive this code should be legal.

Brian K. White  --  brian at aljex.com  --  http://www.aljex.com/bkw/
+++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
filePro  BBx    Linux  SCO  FreeBSD    #callahans  Satriani  Filk!



More information about the Filepro-list mailing list