Hey guys, i think i found a bug. Kix 4.02you can not use Global to make a variable in to an array if that variable was already defined.
code:
$temp = 0
? "vartype = " vartype($temp);the next line will fail
global $temp[10]
? "vartype = " vartype($temp)
but you do not have this problem with DIM
code:
$temp = 0
? "vartype = " vartype($temp);$temp is redefined as an array
dim $temp[10]
? "vartype = " vartype($temp)
The reason I want to use Global Vs Dim is that this variable must exist outside the confines of the UDF it was created in.