Why am I getting a syntax error?

Richard Tartaglia fp at masscollector.com
Thu Feb 9 05:21:09 PST 2006


Thanks everyone for your help, again.

Ken what a way to wake up,that was funny.

I am back working again.

Thanks again to all.

Richard   

--- Kenneth Brody <kenbrody at bestweb.net> wrote:

> Quoting Dan Coutu (Wed, 08 Feb 2006 16:03:37 -0500):
> 
> > Kenneth Brody wrote:
> > > Quoting Jeff Harrison (Wed, 8 Feb 2006 11:14:44
> -0800 (PST)):
> > > [...]
> > >
> > >> Perhaps the problem is that there are trailing
> spaces
> > >> within the variable.
> > >>
> > >> Try the following instead:
> > >>
> > >> lookup fil=(Filename{"") r=(RecordNo) -ex
> > >>
> > >
> > > filePro automatically strips trailing spaces.
> > >
> > I've used the debugger to conclusively prove that
> this is not so with
> > 5.0.14D4.
> >
> > Given the previous code snippets this evaluates
> false in the debugger:
> >
> > if:   FileName eq "customer"
> >
> > while this evaluates true:
> >
> > if: FileName eq "customer            "
> 
> Correct, but both "customer" and "customer   " will
> lookup to the
> file named "customer".
> 
> --
> KenBrody at BestWeb dot net        spamtrap:
> <g8ymh8uf001 at sneakemail.com>
> http://www.hvcomputer.com
> http://www.fileProPlus.com
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
>
http://mailman.celestial.com/mailman/listinfo/filepro-list
> 



More information about the Filepro-list mailing list