Why am I get this syntax error?

Kenneth Brody kenbrody at spamcop.net
Thu Feb 21 15:01:23 PST 2013


On 2/21/2013 5:00 PM, Boaz Bezborodko wrote:
> I have a line of code that looks like this:
>
> nord(209)=DOEDIT(ord(15),phone)

Do you have a field named "phone"?

My guess is that "phones" is the edit you want to apply, in which case, you 
want it in quotes:

    nord(209) = doedit(ord(15),"phone")

> nord is a lookup file and ord is an IMPORT WORD file.  Filepro is giving
> me a syntax error during tokenization on this line even though a
> previous, and nearly identical line is accepted.  That line looks like this:
> nord(27)=DOEDIT(ord(13),zip)

My guess is that you do, indeed, have a field named "zip", making the above 
syntactically correct, but not what you want.

[...]

-- 
Kenneth Brody


More information about the Filepro-list mailing list