This one has bothered me for a while now - is there a good reason for these
two rather strange behaviors of the union command for arrays:
1) union with an empty base array always result in empty instead of adding
the new array
2) an array is empty even if it is not (null) and has stuff in it
David Bovill wrote:
This one has bothered me for a while now - is there a good reason for these
two rather strange behaviors of the union command for arrays:
1) union with an empty base array always result in empty instead of adding
the new array
2) an array is empty even if it is not (null)
Yes - the question is more should it be like this? Do other languages
treat a union the same way? I think it is very counterintuitive and it slows
down a common task of accumulating data in an array.
___
use-revolution mailing list
[full text of the original email appears below]
Start with
Rev only uses associative arrays
thus you need to get the key list for access.
There is a feature request to add indexed access, which would allow
dataArr[0] dataArr[1] etc
Second
Rev allows variables without 'variable typing' or