Re: Strings

new topic     » topic index » view thread      » older message » newer message

More recent pascal incarnations usually have 'zero' delimited strings too,
but the classic pascal string is up to 255 characters (bytes) long with the
current char count in the zero byte. jiri

-----Original Message-----
From: Adam Weeden <SkaMan325 at AOL.COM>
To: EUPHORIA at LISTSERV.MUOHIO.EDU <EUPHORIA at LISTSERV.MUOHIO.EDU>
Date: Monday, November 23, 1998 9:07 PM
Subject: Re: Strings


>in pascal strings are stored like this say you have the word PASCAL and it
>starts at memory location 13672 (this is an arbitrary no.)
>
>then the map of the memory would like
>
>13672  13673  13674  13675  13676  13677  13678
>  "P"       "A"       "S"       "C"       "A"       "L"       "\0"
>
>the "\0" at the end tells it that the string is over.
>

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu