Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!decwrl!decvax!ima!cfisun!lakart!dg From: dg@lakart.UUCP (David Goodenough) Newsgroups: comp.lang.c Subject: Re: Address of a goto label? Message-ID: <508@lakart.UUCP> Date: 20 Apr 89 15:08:49 GMT References: <1768@leah.Albany.Edu> Organization: Lakart Corporation, Newton, MA Lines: 40 From article <1768@leah.Albany.Edu>, by rds95@leah.Albany.Edu (Robert Seals): > I wrote a program to test it. Thus, > ..... > HERE: > p = &HERE; > ..... > > So, the failed compilation seemed correct. BUT, I tried it on the local > 4.3-tahoe, and it compiled ..... Ugh. The possibilities for high level self modifying code are horrific. :-) One thing that I _DID_ like about BCPL was that you could do the following: foo() { code; } boo() { different code; } zap() { foo(); foo = boo; foo(); /* but he really calls boo() */ } Made for a really funky node allocation subroutine in a lisp like environment :-) We now return you to more civilised C programming. -- dg@lakart.UUCP - David Goodenough +---+ IHS | +-+-+ ....... !harvard!xait!lakart!dg +-+-+ | AKA: dg%lakart.uucp@xait.xerox.com +---+