|
Post by bluatigro on Apr 14, 2018 7:31:40 GMT -5
''create a simple object clobal q.a , q.a$
''create a object whit array's dim q.a( 10 ) , q.a$( 10 )
''create a array of object's global qmax q.max = 10 ''array's of simple object's dim q.a( q.max ) , q.a$( q.max ) ''array's of object's whit array's dim q.a( q.max , 5 ) , q.a$( q.max , 5 )
rem : in LB number's , string's , array's of number's and array of string's can have the same name and function's too if the number of parameter's is different as any array's dimension's
[/code]
|
|
|
Post by bjazmoore on Apr 16, 2018 10:07:11 GMT -5
What will you do with it and how?
|
|
|
Post by bluatigro on Apr 20, 2018 5:56:53 GMT -5
see : mandelbrot OOP example in game , graphics ...
idid not use it al jet
|
|
|
Post by tsh73 on Apr 27, 2018 13:36:19 GMT -5
Sorry, I pretty sure it won't work Trying to actually use them - errors on last line with error
''create a array of object's global qmax q.max = 10 ''array's of simple object's dim q.a( q.max ) , q.a$( q.max ) ''array's of object's whit array's dim q.a( q.max , 5 ) , q.a$( q.max , 5 )
q.a(1) = 1 q.a(1,1) = 2
|
|