Rich Mellor wrote:
On Sun, 28 Nov 2004 21:01:26 -0000, Dilwyn Jones <[EMAIL PROTECTED]> wrote:
>> Do all programs have a word length counter before the device name or
do some have a byte length one? And any programs known to use a device
name delimited by LF or whatever rather than the internal format with
length word/byte?


Good question - normally a word length. What about inside a C program (remembering that C expects strings to end with a 0 byte and not have a word length..... ??

C does not use a length, in C the string is null terminated (so a null byte after the string, no easy way to figure out what the beginning of the string is.
What about tokenized basic, or compiled basic? In SBasic (in some places at least), string length is indicated with a byte.


Joachim


_______________________________________________ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to