Originally Posted by lyravega
# should work on saved variables if you construct it like an array. If this isn't the case, it won't work. # only works for proper arrays.
|
# does not work on saved variables with int indizes. It returns 0, always.
Sub-elements of the saved table work normaly regarding #
Just put it into SavedVar.Data[i] isntead of SavedVar[i] and you can properly itterate over SavedVar.Data using #SavedVar.Data.
It is also better practice to hand normal arrays (instead of Saved Var Acessor objects) to functions.