home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!malgudi.oar.net!news.ysu.edu!psuvm!frmop11!turgut
- Organization: European Academic Research Network (EARN)
- Date: Friday, 14 Aug 1992 15:42:02 GMT
- From: Turgut Kalfaoglu <TURGUT@FRMOP11.BITNET>
- Message-ID: <92227.154202TURGUT@FRMOP11.BITNET>
- Newsgroups: comp.os.os2.misc
- Subject: RE: Stem Variables as Arguments
- References: <9208131845.AA12317@ucbvax.Berkeley.EDU>
- Lines: 13
-
- Like VM NETNEWS code, a good way to define your GLOBAL variables
- is to have the 'g.' stem for them, like:
-
- g.userid = 'something'
- g.node = 'something'
-
- then in all your procedures (that need something global) you can
- just say
-
- procedure expose g.
-
- very elegant! Intrepret 'Procedure expose' vars is very ugly!
- -turgut
-