Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!bionet!ames!haven!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.lang.c Subject: Re: entry at other than main (was w Message-ID: <19218@mimsy.UUCP> Date: 23 Aug 89 01:02:31 GMT References: <19173@mimsy.UUCP> <207600032@s.cs.uiuc.edu> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 25 In article <19173@mimsy.UUCP> I suggested that SNOBOL's `$Z' construct obtained >>whatever is named by Z (here the global Y) ... In article <207600032@s.cs.uiuc.edu> mccaugh@s.cs.uiuc.edu writes: >A clearer explanation is that '$' maps the value of variable Z (the >string 'Y') to the variable Y; Indeed. Well, as I said, it has been quite some time since I dealt with SNOBOL, and it was only for a short while. (Does not SNOBOL IV evaluate right-to-left? In which case, yet another way to put it is that $X = $Z '0' evaluates '0', yeilding the string '0', then evaluates Z (yeilding the string 'Y'), then evaluates $'Y' (yeilding the value of Y, 'X'), then `evaluating' the equals sign....) At any rate, take whatever I say about SNOBOL IV with at least a few grains of salt; see the reference manual (by Griswold, if I have spelled that right) for certainty. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163) Domain: chris@mimsy.umd.edu Path: uunet!mimsy!chris