Hi
I want a script that initializes an array with a number of 0 (the length of the array is given as a parameter)
normaly I would do something like this
set -A zerros `echo "0 0 0 0 0 0 0 0 0"`
But I need a way to make the array the length of the parameter given to the script and make alle the places in the array 0
thanks
Larshg
I want a script that initializes an array with a number of 0 (the length of the array is given as a parameter)
normaly I would do something like this
set -A zerros `echo "0 0 0 0 0 0 0 0 0"`
But I need a way to make the array the length of the parameter given to the script and make alle the places in the array 0
thanks
Larshg