• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

B&S Question on instructions

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Part of my instructions says

All text values, and all fields (which are text only), contain only 8 bit characters, null terminated if less than the maximum length for the field.

Is null terminated means add spaces at the end

for example "JOE DOE "
(or)

add null for example

"Joe Doenullnull"
Thanks,
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello John!

May be you get the answer in the topic "(B&S)I think I corrupted my Datafile".

Quote: "it means that according to the specs each string is ended with a \0 (ascii value 0)."

more info:
http://forum.java.sun.com/thread.jspa?threadID=394966&messageID=1713573

Regards,
Gennadi
 
John Mattman
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Gennadi Oreper. Your reply is helpful.

John
reply
    Bookmark Topic Watch Topic
  • New Topic