|
-
Jun 26th, 2000, 04:05 AM
#1
Thread Starter
Lively Member
ok question, how can i created a non defined(like myarray() ) 2 demensional array? I tried
global myarray(4,) as integer
that didn't work from that code you should get what i want right? I'd like to have an array that is 4 for the first number and the second number can change....possible?
-
Jun 26th, 2000, 04:14 AM
#2
transcendental analytic
it's not that hard with dynamical arrays:
Code:
global myarray()
..
redim array(4,x)
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Jun 26th, 2000, 05:48 AM
#3
-
Jun 26th, 2000, 06:08 AM
#4
transcendental analytic
Jethro, youre right about that, but only for the last argument in the array can be redimmed preserving
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Jun 26th, 2000, 06:44 AM
#5
Another way to declare a 2-dimensional dynamic array is:
Code:
Dim MyArray(,) As datatype
"It's cold gin time again ..."
Check out my website here.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|