Absolutely weirdest problem

Howard Wolowitz howiewz at beonthenet.com
Mon May 8 07:29:46 PDT 2006


> Quoting Kenneth Brody (Mon, 08 May 2006 09:34:34 -0400):
>
>> Quoting Howard Wolowitz (Sat, 6 May 2006 12:57:41 -0400):
>> [...]
>> >      If:    sf="qu"
>> > Then:    wb=qa{; goto wbt
>> >
>> > Notice there is nothing after the {  - which is, of course, an error.
>> >
>> > But, the table passed the syntax check so I didn't notice the typo and
>> [...]
>>
>> Note that I was able to duplicate the (lack of) error here using the
>> files you sent me.  While I haven't yet looked further into it, by
>> examining the tok file it generated, I can see that what's happening
>> is that filePro thinks you are attempting to access a USER program
>> with a null name.  (Which, of course, cannot exist.)
> [...]
>
> You have a lookup named "user", which filePro is apparently not
> handling very well here.  (Well, it handles it "well" for everything
> except the part where it also enters a null-named user command in
> the symbol table, causing this very weird situation.)

Interesting, very good catch, thanks.

I currently have 68 fpweb processing tables at Aljex and a dozens more at 
photobuff and other clients that all use the lookup name "user" but, of 
course I don't make syntax errors very often :).  When a new fpweb 
application is required I just copy an existing table to a new one and then 
make the required changes/additions.  I guess I will change the lookup name 
to "usr" to avoid any possibility of it happening on any new tables I 
create.

(I just tried making the same mistake on the same line of code but in a 
different version of the table and it _did_ fail the syntax check.  Like I 
said - weird.)

Thanks again.

Howie



More information about the Filepro-list mailing list