10-19-2005, 07:32 PM
Pretty basic question, but couldn't find answer in help or forum ...
What is the simplest, most direct way to initialize the contents of an array.
For example, if I have the following array:
array[0 0] = 5
array[0 1] = 7
array[1 0] = 2
array[1 1] = 12
array[2 0] = 1
array[2 1] = 4
is there a simple, one line method of initializing the array to these values?
What is the simplest, most direct way to initialize the contents of an array.
For example, if I have the following array:
array[0 0] = 5
array[0 1] = 7
array[1 0] = 2
array[1 1] = 12
array[2 0] = 1
array[2 1] = 4
is there a simple, one line method of initializing the array to these values?