delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/31/13:03:03

Date: Sun, 31 Aug 1997 10:00:09 -0700 (PDT)
Message-Id: <199708311700.KAA19622@adit.ap.net>
Mime-Version: 1.0
To: Erik Max Francis <max AT alcyone DOT com>, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: Writing a struct to disk

At 04:04  8/30/1997 -0700, Erik Max Francis wrote:
>Alexander Bokovoy wrote:
>
>> You can use the technique which used in PASCAL: . . .
>
>Correct me if I'm wrong, but Pascal traditionally uses one 8-bit byte
>for the string length, limiting the total number of characters in a
>string to 255.
I think that's only true of Borland/Turbo Pascal. Other Pascals apparently
have used 16-bit numbers for this, as does GNU Pascal. In Extended Pascal,
the implementation seems to be different. The GPC manual talks about this.

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019