Also:
GetLocalInt returns 0 if the integer is not found on the object. 0 is the default value for integers.
Furthermore an aside
GetLocalInt(oArea, iInt)
is not the same as
GetLocalInt(oArea, "iInt")
if you have an integer on an area called iInt you should use the later statement.
If on the otherhand iInt is a string, GetLocalInt(oArea, iInt) will look for an integer with a label that matches the string stored in iInt.
Yes thats a little pedantic, but it should be clarified to avoid confusion.
Modifié par henesua, 26 septembre 2012 - 07:16 .