Aug 14, 2001 #1 motte Programmer Joined May 31, 2001 Messages 155 Location US Hi all, Why does this not work? dim somesize somesize=4 dim somearray(somesize) I have no specific code to give, but I am wondering why you need an actual value and can't use a variable to set an array's size. Mike
Hi all, Why does this not work? dim somesize somesize=4 dim somearray(somesize) I have no specific code to give, but I am wondering why you need an actual value and can't use a variable to set an array's size. Mike
Aug 14, 2001 #2 Extentec Programmer Joined Jul 25, 2001 Messages 44 Location US Try it this way: dim somesize dim somearray() somesize=4 redim somearray(somesize) http://www.onti.net Upvote 0 Downvote
Try it this way: dim somesize dim somearray() somesize=4 redim somearray(somesize) http://www.onti.net