Why am I getting a syntax error?

Dan Coutu coutu at snowy-owl.com
Wed Feb 8 13:03:37 PST 2006


Kenneth Brody wrote:
> Quoting Jeff Harrison (Wed, 8 Feb 2006 11:14:44 -0800 (PST)):
> [...]
>   
>> Perhaps the problem is that there are trailing spaces
>> within the variable.
>>
>> Try the following instead:
>>
>> lookup fil=(Filename{"") r=(RecordNo) -ex
>>     
>
> filePro automatically strips trailing spaces.
>   
I've used the debugger to conclusively prove that this is not so with 
5.0.14D4.

Given the previous code snippets this evaluates false in the debugger:

if:   FileName eq "customer"

while this evaluates true:

if: FileName eq "customer            "

Dan


More information about the Filepro-list mailing list