Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
TableA:
LOAD * Inline [
Data1,Data2,Data3,swap
A1,A2,A3,one
B1,B2,B3,two
C1,C2,C3,three
D1,D2,D3,four
];
SUB:
Load
swap as datalabel
Resident TableA;
For x=0 to 3
let Datalable$(x)=peek('datalabel');
NEXT
TRACE $(Datalable0);
TRACE $(Datalable1);
TRACE $(Datalable2);
TRACE $(Datalable3);
exit Script;
instead of all four, i want one,two,three,four vice versa
Hi there,
You need to use more parameters for the Peek() function:
let Datalable$(x)=peek('datalabel', x, 'SUB');
Cheers,
Hi there,
You need to use more parameters for the Peek() function:
let Datalable$(x)=peek('datalabel', x, 'SUB');
Cheers,