🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #2412

Re: Re: JPI Compiler bug?

#2412
From: Joe Bob
Date: Sat, 23 Jan 1993 15:17
13 lines
911 bytes
In article <27679098395@olk.cl-hh.comlink.de> marcus_olk@cl-hh.comlink.de writes:
>
>But what does adr^ mean? adr^ should be the referenced type adr points
>at. This might be a RECORD structre or an ARRAY or...

  Right.  But in this case adr was an ADDRESS, so adr^ is ADDRESS^,
which is WORD.  So TSIZE(adr^) = TSIZE(WORD).

>So: what does NEW(adr) or ALLOCATE(adr, SIZE(adr^)) respectively, exactly do?


  SIZE and TSIZE are compile-time operations.  I think this is the point
that people are missing.
Technical Details
Message-ID: <C1BBtv.CEv@agora.rain.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!yale.edu!yale!gumby!destroyer!cs.ubc.ca!uw-beaver!news.tek.com!psgrain!m2xenix!agora!robart
References: <27679098395@olk.cl-hh.comlink.de>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.modula2
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!yale.edu!yale!gumby!destroyer!cs.ubc.ca!uw-beaver!news.tek.com!psgrain!m2xenix!agora!robart
From: robart@agora.rain.com (Joe Bob)
Subject: Re: Re: JPI Compiler bug?
Message-ID: <C1BBtv.CEv@agora.rain.com>
Organization: a gora
References: <27679098395@olk.cl-hh.comlink.de>
Date: Sat, 23 Jan 1993 15:17:51 GMT
Lines: 14