Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 Apollo; site apollo.UUCP Path: utzoo!linus!security!genrad!decvax!wivax!apollo!alan From: alan@apollo.UUCP (Alan Lehotsky) Newsgroups: net.unix-wizards Subject: Re: Re: From VMS to UNIX - (nf) Message-ID: <166@apollo.UUCP> Date: Thu, 3-Nov-83 11:27:44 EST Article-I.D.: apollo.166 Posted: Thu Nov 3 11:27:44 1983 Date-Received: Sun, 6-Nov-83 15:17:57 EST References: <3620@uiucdcs.UUCP> Organization: Apollo Computer, Chelmsford, Mass. Lines: 19 BLISS and REGISTERs First of all, any LOCAL is a candidate to be in a register - and the compilers pack the declared variables, based on their life-times. If you want to force something to memory, declare it as STACKLOCAL. Second, you can say REGISTER foobar; ! Compiler picks one REGISTER mychoice=5; ! Picks R5 - This isn't portable BUILTIN R5; ! Equivalent to REGISTER R5=5; If you compile with portability checking turned on, the last two are diagnosed as suspicious.