Re: function



santosh wrote:
Bill Cunningham wrote:

Earlier in this
post I wanted to write zeros to a file and found out the proper use
was with the string terminating character '\0' which is a byte with
all the bits turned off.

Not necessarily. It's just a byte with value zero.

Bill is right, you are wrong.

5.2 Environmental considerations
5.2.1 Character sets

A byte with all bits set to 0, called the null character,
shall exist in the basic execution character set;
it is used to terminate a character string literal.

--
pete
.



Relevant Pages

  • leading zeros were lost
    ... i.e. you don't need leading zeros on real numbers so it ... data properties in the table and queries. ... types of data, i.e. character, logical, integer short, ... your problem occured becase the computer converted text to ...
    (microsoft.public.access.queries)
  • leading zeros were lost
    ... number - i.e. you don't need leading zeros on real ... queries. ... data between different types of data, i.e. character, ... your problem occured becase the ...
    (microsoft.public.access.queries)
  • Kegs 0.91 SCC emulation woes
    ... the issues are the code or the emulator. ... I slowed down the transmission of data, ... The first problem I noticed was that zeros were not appearing in the ... sends ack signals using this character. ...
    (comp.emulators.apple2)
  • Re: Kegs 0.91 SCC emulation woes
    ... The first problem I noticed was that zeros were not appearing in the ...  Presumably because telnet, by ... sends ack signals using this character. ... 00 and FF breaks binary data transmission anyway, ...
    (comp.emulators.apple2)
  • Re: How to get file size?
    ... > terminating text files with a special character, 0x1a, after the last ... The first page was typically all zeros (but could be used by ... number of spaces plus 32. ... reason one couldn't have been written.) ...
    (comp.lang.c)