Originally posted by Daniel Raymer:
and the SIZE parameter ...
and the SIZE parameter ...
There is no SIZE parameter! See the example below:
Code:
DIM Matrix(1 TO 5, 2 TO 10, 3 TO 15) CALL ArrayTest(Matrix(), 1, 2) SUB ArrayTest(alfa(3), Number1, Number2) ' alfa(num-of-dimensions) PRINT UBOUND(alfa(1)) '<- print 5 PRINT LBOUND(alfa(1)) '<- print 1 PRINT PRINT UBOUND(alfa(2)) '<- print 10 PRINT LBOUND(alfa(2)) '<- print 2 PRINT PRINT UBOUND(alfa(3)) '<- print 15 PRINT LBOUND(alfa(3)) '<- print 3 ... END SUB
Arthur Gomide
Como diria nosso profeta da bola, Dadá Maravilha:
"Para toda Problemática existe uma Solucionática!"
[This message has been edited by Arthur Gomide (edited October 03, 2006).]
Leave a comment: