Arrays.inc has a typo.
arr[ should be array[
correct section of code reads
#macro Rand_Array_Item(Array, Stream)
#if(dimensions(Array)=1)
Array [floor(rand(Stream)*0.9999999*dimension_size(Array,1))]
#else
#error "The Rand_Array_Item() macro only works for 1D arrays."
#end
#end
Post a reply to this message
|