Reply-To: erik.wachtmeester@bighole.iaf.nl
Raymond Pesek wrote in a message to Erik Wachtmeester:
EW ->Never mind, I already found it out: memvarblock('nPrivVar')
->returns NIL if the variable isn't declared.
RP> Wow. You learn something new everyday. I have never seen or heard of
RP> anyone using that function before. I didn't even know it existed! Good
RP> find and followup!
Thanks. I did know it existed, and I even used it a couple of times to store
codeblocks in an array that could be eval()uated afterwards without the need
of
a macro, but I never realised I could 'misuse' it for this purpose also...
)
The only drawback is that it only works on public and private vars, not on
locals and statics. But that also goes for &-macros so it's not that big a
drawback.
Regards,
Erik
--- ifmail v.2.12-tx8.6
---------------
* Origin: May it be on this earth? (2:283/7.2)
|