multiline and array
Posted: Mon Dec 12, 2011 10:06 pm
hi,
here are my two request
1. would be great if you can add a multi line statement for using the functions like this
2. a better method for putting value into a array. maybe like With/Endwith
IMO this is a lot more easy and readable than the current method (especially with multidimensional array)
Thank you for reading this,
bye.
here are my two request
1. would be great if you can add a multi line statement for using the functions like this
Code: Select all
myFunction( 123,
456,
"abc",
#PUREBASIC,
variable)
Code: Select all
Dim vertices.i(20)
With vertices()
0,1,2,3,
4,5,6,7,
8,9,0,9,
8,7,6,5,
4,3,2,1
Endwith
Code: Select all
Dim vertices.i(20)
vertices(0) = 0
vertices(1) = 1
vertices(2) = 2
vertices(3) = 3
vertices(4) = 4
vertices(5) = 5
vertices(6) = 6
vertices(7) = 7
vertices(8) = 8
vertices(9) = 9
[...]
bye.