Re: Attempting to read past end of strings

From: AlanGLLoyd (alanglloyd_at_aol.com)
Date: 03/29/04


Date: 29 Mar 2004 07:12:50 GMT

In article <40678acc$0$31907$afc38c87@news.optusnet.com.au>, John Tserkezis
<jt@techniciansyndrome.org.invalid> writes:

> A string can be any length, including zero.

A string contains a concatenation of a number of characters of any length
including zero. The length of the string itself depends on the language
implementation and is usually greater than the count of the contained
characters.

Colloquially the term "string" refers only to the characters, but don't lets
forget what a string really is. Nor confuse the colloquial use of the word with
the strict definition.

Alan Lloyd
alanglloyd@aol.com



Relevant Pages

  • Re: find double byte characters in a single byte string
    ... I am building a fixed length record, 168 bytes long, to send to a mainframe. ... If the zero is missing the mainframe program ... Because of the double byte characters in the timestamp, ... a single byte string of data and also the value of FileDateTime, ...
    (microsoft.public.vb.general.discussion)
  • Re: How to convert Infix notation to postfix notation
    ... If this is for an error message, why isn't it using stderr for its output? ... array of 15 characters, and you call this function with the limit 15 on ... Making sure that the only string I allocate and append to, ... because mulFactor in all versions must needs incorporate the functions ...
    (comp.lang.c)
  • Re: Prothon should not borrow Python strings!
    ... """It does not make sense to have a string without knowing what encoding ... same cul de sac as Python. ... Prothon_String_As_ASCII // raises error if there are high characters ... Python's split between byte strings and Unicode strings is ...
    (comp.lang.python)
  • Re: find double byte characters in a single byte string
    ... a zero in the last byte. ... Because of the double byte characters in the timestamp, ... a single byte string of data and also the value of FileDateTime, ... Chinese or Korean regional settings? ...
    (microsoft.public.vb.general.discussion)
  • Re: MAX-FLOAT-DIGITS
    ... a usable string when flag2=false ... ... There is no easy way to determine the maximum number of usable digits ... If u is greater than zero the character string shall consist ... consist of MAX-FLOAT-DIGITS graphic characters left-justified ...
    (comp.lang.forth)