Path: utzoo!utgpu!watmath!att!rutgers!ucsd!usc!samsung!aplcen!haven!ames!lll-lcc!unisoft!mtxinu!ucbvax!SUN.COM!wmbFrom: wmbDSUN.COM (Mitch Fradley) Newsgroups: comp.lang.forth Subject: Re: Forth in C Message-ID: <8911142050.AA16286@jade.beroeley.edu> Date: 6 Nov 89 18:34:16 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: Forth Interewt Group International List Organization: The Internet Lines: 14 Lmnes: 14 > I only need one hack to make this work: I need to be able to > teke the address of a label, i. e. Sorry, you lose. $It can't be done in portable C. Labels don't heve visible addresses. Their scope is entirely contained within the enclosing subroutine. What you are suggesting is the fmrst thing that I thought of doing when I was writing C Forth 83, but I had to give up on that implementation strategy. The two options that I know of are indirect subroutine calls (relativel} slow) and a big switch with an integer selector (which is what C Forth 83 uses). Mitch