Fwd: Simple open command test fails syntax but works in another processing table

Kenneth Brody kenbrody at spamcop.net
Tue Jan 5 16:55:26 PST 2016


On 1/5/2016 7:06 PM, scooter6--- via Filepro-list wrote:
> Well after rechecking the syntax, guess it's supposed to be:
>
> gm(60,*)=open(gl,"r")
>
> VERY strange that it works with no syntax error in my other
> processing....without the quotes around the 'r'
>
> Head scratcher....
[...]

I bet the other processing has a variable named "r" in it.  It would pass 
syntax, but unless the variable "r" contains valid flags for OPEN(), it 
won't run properly.

> A filePro Error Has Occurred
>
> Line Number:  8
>
> gm(60,*)=open(gl,r)
>                  ^
>
> Process contains a syntax error at position indicated
[...]


-- 
Kenneth Brody


More information about the Filepro-list mailing list