I recall that people seem to have trouble making a Type instance be equal to Null (thus, not work so that their engine treats it as a nonexistent type... or for some other purposes that are only understood when they need to be done). So, for some reason, many people seem to not know how to do this -- I was one of them until a minute ago.
Anyways, I was in such a situation again, and I instantly devised an ingenious solution.
vPrev.var=Object.var(0) The type of handle 0 is nonexistent. Therefore, it is Null, and the If vPrev.var=Null thing later on will be affected by this, which means that I don't have to do a silly "IsNewVarsList" variable, which is then set back to 0 once it's been read.
So, I'm sure this has been figured out before, but I'm also sure that not everyone has figured it out, so I'll post it...
|