invalid argument system runtime error on line with variable lookup

GCC Consulting gccconsulting at comcast.net
Thu Oct 25 12:57:31 PDT 2007


 

> -----Original Message-----
> From: 
> filepro-list-bounces+gccconsulting=comcast.net at lists.celestial
> .com 
> [mailto:filepro-list-bounces+gccconsulting=comcast.net at lists.c
> elestial.com] On Behalf Of Bruce Easton
> Sent: Thursday, October 25, 2007 3:52 PM
> To: filepro list
> Subject: RE: invalid argument system runtime error on line 
> with variable lookup
> 
> 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.

The interesting thing is that my line is directly from fp help and a client
has been running this code for about 3 year or longer without a problem.

Of course, all of the data is being posted to a qualifier.

Richard

 




More information about the Filepro-list mailing list