syntax error message

Richard Kreiss rkreiss at verizon.net
Wed Mar 10 10:28:46 PST 2010



> -----Original Message-----
> From: filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com [mailto:filepro-
> list-bounces+rkreiss=verizon.net at lists.celestial.com] On Behalf Of Kenneth
> Brody
> Sent: Wednesday, March 10, 2010 1:08 PM
> To: rkreiss at gccconsulting.net
> Cc: 'filePro'; 'filePro Alpha Mailing List'
> Subject: Re: syntax error message
> 
> On 3/10/2010 12:47 PM, Richard Kreiss wrote:
> > For the following code where<L>  is the last element of the array who to use
> when the listbox is displayed,
> >
> > dim who(6) on line 10.
> >
> > <L>  can be from 3-6 in value
> [...]
> > 306  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
> >         ◄ If:         @fd="3"
> >         Then:         3=mid(who[sl],"1","4");sa=mid(who[sl],"6","30");RETURN
> [...]
> > *** A filePro Error Has Occurred ***
> >
> > Line Number: 306
> >
> >          3=mid(who[sl],"1","4");sa=mid(who[sl],"6","30");RETURN
> >                    ^
> > Process contains a syntax error at position indicated.
> [...]
> 
> What version of filePro are you running?  Older versions wouldn't allow
> array or lookup references as the first parameter to MID().
> 
> --
> Kenneth Brody

Ken

Windows 5.6.10






More information about the Filepro-list mailing list