TIP: Click on subject to list as thread! ANSI
echo: clipper
to: RAYMOND PESEK
from: ERIK WACHTMEESTER
date: 1997-11-18 20:23:00
subject: Determining if a private

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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.