Re: Strings
- Posted by "Bown, John" <John.Bown at UK.ORIGIN-IT.COM> Nov 23, 1998
- 440 views
> >EU>[Strings] >EU>Does anyone know how languages like Pascal and Basic etc store their >EU>strings? > >I think Basic stores them as an array characters with the end marked by >a 0. In my expreience; Basic more commonly uses a length ( 8 or 16 bit ); this can be tested for by using ... A$="Euphoria"+CHR$(0)+"Rules" : PRINT A$ This is obviously much more flexible than zero terminated strings ( asciiz ) as zeroes can be embedded in the strings.