invalid argument system runtime error on line with variable lookup

Bruce Easton bruce at stn.com
Thu Oct 25 12:52:00 PDT 2007


GCC Consulting wrote Thursday, October 25, 2007 3:33 PM:

> Bruce,
> 
> Check for a qualifier, if not use std lookup format.
> 
> If there is a qualifier, use the format I suggested.
> 
> If: qual = ""
> Then: fileeq = filen
> If: qual ne ""
> Then: fileq = (filen&"@"&qual)
> 
> Richard Kreiss
> GCC Consulting
>   

I tried that Richard and it (clerkWin5.7) produced the same system 
error on that line (your second then line).  In my Unix (fp5.14) 
program that is working fine, all that is needed is:

Then: fileq = filen{"@"{qual
Then: lookup readd = (fileq)  r=rv  -n

That successfully handles all cases where the 
file evaluated to by "filen" may or may not have 
a qualifier name.

Bruce

Bruce Easton
STN, Inc.





More information about the Filepro-list mailing list