Syntax Error

Kenneth Brody kenbrody at spamcop.net
Thu Mar 7 08:16:01 PST 2013


On 3/7/2013 10:31 AM, Ed Hilovsky wrote:
> Thanks.
> Adding a space did the trick.

Something to remember when using single-letter dummy fields, as 
single-letter-close-paren can be taken as an associated field reference.

> -----Original Message-----
> From: Kenneth Brody [mailto:kenbrody at spamcop.net]
> Sent: Thursday, March 07, 2013 9:55 AM
> To: lgf at lgfcomputers.net
> Cc: filepro-list at lists.celestial.com
> Subject: Re: Syntax Error
>
> On 3/7/2013 7:33 AM, Ed Hilovsky wrote:
>> CentOS release 4.7 (Final)
>>
>> filePro version 5.0.13R4
> [...]
>>          Then: D="/ets/"{ru{".out"
> [...]
>>          Then: B=exists(D)
> [...]
>>           If:       B eq "1"
>>          Then: goto okput
>>
>> Upon Check Syntax - error of:
>>
>> *** A filePro Error Has Occurred ***
>>
>> Line Number: 11
>>
>> B=exists(D)
>>     ^
>> Process contains a syntax error at position indicated.?
>>
>>
>> Any ideas why this is producing an error ?
> [...]
>
> Do you have an associated field group "D)"?
>
> Try putting a space after the "D":
>
>       B = exists( D )
>
>

-- 
Kenneth Brody


More information about the Filepro-list mailing list