My idea is that if an object has a `= lfun it will be called with the assignment value for the variable and gets the actual value to assign in return. Creating a secure string variable could be based on code along the following lines:
class HiddenString { string hidden; this_program `=(mixed x) { if(stringp(x)) { hidden=x; return this_object(); } return x; } }
/ Martin Nilsson (har bott i google)
Previous text:
2003-04-16 01:54: Subject: Pointers/lvalues
I don't know how you intend to use such a `= lfun, or indeed how it would work at all. Can you elaborate?
/ Martin Stjernholm, Roxen IS