Quote:
Originally Posted by bscharff
With the new callstack function, we could easily do some sort of protection.
Stefan could add some sort of onStrChanged(str, str, obj, str)
params[0] could be the string being modified
params[1] could be the new string value
params[2] could be the object that is changing it
params[3] could be the old string value
Then add a check like if onStrChanged() is in the object's functions (the one with the string being modified - to relieve any possible confusion) then run through the function, otherwise, just modify the string without any nonsense.
|
onStrChanged()...... some of you people
really don't seem to be getting this....when i say protected/private variables, only the local object can even see them let alone write to them! Other objects can't even read their contents or know if they exist!