K
Kay
Hello,
I declare an array as follows
Dim returnArray() as boolean
I need to initialise the values of the array at runtime, I am calling a
function multiple times, that return a boolean value and I am using the
returned values to fill the array. I have tried the following but get an
error
returnArray(index) = functionWhichReturnsABoolean()
how do I set the array elements at runtime to be the returned value?
Any suggestions appreciated.
Thanks,
Kay.
I declare an array as follows
Dim returnArray() as boolean
I need to initialise the values of the array at runtime, I am calling a
function multiple times, that return a boolean value and I am using the
returned values to fill the array. I have tried the following but get an
error
returnArray(index) = functionWhichReturnsABoolean()
how do I set the array elements at runtime to be the returned value?
Any suggestions appreciated.
Thanks,
Kay.