Path: utzoo!attcan!uunet!husc6!ukma!tut.cis.ohio-state.edu!ucbvax!DKAUNI2.BITNET!UK4H From: UK4H@DKAUNI2.BITNET ("JAE ", Juergen A. Erhard) Newsgroups: comp.lang.modula2 Subject: Re2: Clever way to deal with this? Message-ID: <"90-02-14-14:03:50.03*UK4H"@DKAUNI2.BITNET> Date: 14 Feb 90 13:59:45 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: Modula2 List Organization: The Internet Lines: 49 X-Unparsable-Date: Wed, 14 Feb 90 14:03:00 LCL Hi folks, many, many comments on marks original msg I've read. And now, I'd like to (re)add my 2 cents worth to it. All (Mark@ecncdc, stephen, robert, dave) came up with some dynamic allocation scheme. Me too. Only Tim thought of something else, but that's after the second msg from Mark. My thoughts now: Best thing to do in M2 would be: record num:CARDINAL; chars:ARRAY (.0...) OF CHAR; end; On Tim's msg: Stupid thing, this one: > charPtr := SYSTEM.ADR(buffer.text[i]); > InOut.Write(charPtr:) Why not do: InOut.Write(buffer.text i ); See the point, Tim? > Hope this adds something to the discussion. Sure... Mark, what do you mean with > The actual characters are fixed in length, but <...> ???? Do you determine the storage size at run time, too??? Well, I'm writing an editor myself, and it uses some representation similar to the dynamic ones the others layed out. If only I could upload it onto this IBM here... Maybe this msg wasn't as clear as I'd like it to be, but sometimes (like today) I'm a bit confused (and confusing)... -jae ======================================================================== Juergen A. Erhard eMail: uk4h@dkauni2.bitnet phone: (+49) 721/591602 "You know that it's monday when you wake up and it's tuesday." Garfield DISCLAIMER: none, I don't speak legalese.