Article View: comp.lang.misc
Article #98Re: Modula-3, Fortran, Numbers & Aliens
From: Peter da Silva
Date: Tue, 07 Apr 1992 15:01
Date: Tue, 07 Apr 1992 15:01
13 lines
1305 bytes
1305 bytes
In article <STEPHEN.92Apr6203432@estragon.uchicago.edu> stephen@estragon.uchicago.edu (Stephen P Spackman) writes:
> I think the redefinability of globals is a practical necessity when
> writing languages with read-eval-print style interactivity that lack
> first-class namespaces. Corrections welcome.
You've fallen into Jim's trap. Since identifiers aren't typed in J, there is
no such thing as a redefinition of a global. There is just assignment of a
new value with a possible new type.
--
/F { dup /Courier findfont exch scalefont setfont } def /S { show } def /L { 12
mul 36 add 36 exch moveto } def 24 F 2 L (Have you hugged your wolf today?) S
12 F 1 L (Peter da Silva, Ferranti International Controls Corporation) S
0 L (Sugar Land, TX 77487-5012; +1 713 274 5180) S
Technical Details
Message-ID:
<id.KXOO.61F@ferranti.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!menudo.uh.edu!sugar!ficc!peterReferences:
<ROCKWELL.92Apr5115242@socrates.umd.edu> <1992Apr6.193950.5862@newshost.lanl.gov> <STEPHEN.92Apr6203432@estragon.uchicago.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.misc Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!menudo.uh.edu!sugar!ficc!peter From: peter@ferranti.com (Peter da Silva) Subject: Re: Modula-3, Fortran, Numbers & Aliens Message-ID: <id.KXOO.61F@ferranti.com> Sender: peter@ferranti.com (peter da silva) Organization: Xenix Support, FICC References: <ROCKWELL.92Apr5115242@socrates.umd.edu> <1992Apr6.193950.5862@newshost.lanl.gov> <STEPHEN.92Apr6203432@estragon.uchicago.edu> Date: Tue, 7 Apr 1992 15:01:59 GMT Lines: 13