Of Geoffrey
Mitchell
Sent: 10 July 2008 22:44
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] [UV] [UB] Equating Two Arrays in UniBasic
Is R.New or R.SOD being declared as a dimensioned array somewhere?
If both are dynamic arrays, there should be no problem.
I get the error you describe if I try
It is not letting me do it.
When I try something like...
read R.SOD from F.SOH, Order.ID else R.SOD = ''
R.New = ''
R.New = R.SOD
The compiler says... Error... Array must have subscripts.
Unless there is no other way... I would rather not build a new array... via
a
Hi Bill
The variable has probably been set up as a dimensioned array somewhere else
in the program or an include file. Ie DIM Var(10)
Regards
David Jordan
Managing Consultant
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
'
Subject: [U2] [UV] [UB] Equating Two Arrays in UniBasic
It is not letting me do it.
When I try something like...
read R.SOD from F.SOH, Order.ID else R.SOD = ''
R.New = ''
R.New = R.SOD
The compiler says... Error... Array must have subscripts.
Unless there is no other
Is R.New or R.SOD being declared as a dimensioned array somewhere?
If both are dynamic arrays, there should be no problem.
I get the error you describe if I try to assign a dimensioned array to a
dynamic array variable, such as:
0001: DIM X(100)
0002: Y=
0003: X=Y
The other way around