Long Variable Name as Array Element
Scott Walker
scottw1 at alltel.net
Wed Aug 18 09:26:51 PDT 2004
> -----Original Message-----
> From: Kenneth Brody [mailto:kenbrody at bestweb.net]
> Sent: Wednesday, August 18, 2004 11:45 AM
> To: Scott Walker
> Cc: Filepro List - No spam
> Subject: Re: Long Variable Name as Array Element
>
>
> Scott Walker wrote:
> >
> > >
> > > Scott Walker wrote:
> > > [...]
> > > > Are you running the code in rreport?
> > >
> > > I've been using rclerk, since that is what you said you
> were using:
> > >
> > > > Can you use a Long Variable name as an array element.
> > > >
> > > > I can't seem to on 5.0.13 rclerk.
> > >
> > > [...]
> > >
> >
> > DUHHHHHHHHH!
> >
> > I am really sorry about that....I kept rereading my posts before
> > sending them, trying to get every detail correct, and I got what is
> > possibly the most important item of info wrong.
> >
> > I just tried it with rclerk and it works fine, even with the array
> > mapped to dummy variables.
> >
> > I is only in rreport and/or dreport, with the array mapped to dummy
> > variables, that it bombs.
>
Ken wrote:
> The following works fine for me in rreport 5.0.13R9:
>
> rreport test -fp array2 -p \temp\out -a
>
> ==========
> ::dim Category_Sell[7](12,,2)aa:
> ::declare local Counter(1,.0):
> ::Counter="1":
> ::cr(1,.0)="1":
> ::mesgbox "About to assign via 'cr'":
> ::Category_Sell[cr]=Category_Sell[cr]:
> ::mesgbox "Done. About to assign via 'counter'":
> ::Category_Sell[Counter]=Category_Sell[Counter]:
> ::mesgbox "Done.":
> ::end:
> ==========
>
Ken,
You know what, I noticed that you were using -fp out_processing_name so
I tried it with -fp also and it works fine.
However if I use:
.../fp/5.0rreport.13 filename -f formname -u -z out_processing_name
it bombs on the same line with the Long Variable name being used
as an array element.
This form is a report type output format. It does not matter how I
select records for the report, it always bombs out.
Regards,
Scott
Scott Walker
RAM Systems Corp.
PO Box 1778
Davidson, NC 28036
Ph: (704) 896-6549
Fx: (704) 896-7458
Email: scottw1 at alltel.net
>
More information about the Filepro-list
mailing list