Originally Posted by zgrssd
# 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.
|
You can insert data at the root of the table... and if you use it like an array, # returns correct stuff.