The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2002



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.



Posted by Chin Loong on January 18, 2002 at 4:42 AM


matt answered your questions... but well..

1) nope, i don't think so.. my code runs well the last time i run it.. it was pretty messy coz i was out of time and i just skimmed through the API and whip something out of it :p (results-only-how-you-do-it-doesn't-matter syndrome)
2) 255 coz at that point of time I *thought* String has a maximum buffer of only 255. bad habit i guess. how wrong :p so sorry to put u in the possibility of getting the same bad habit.
3) 10 is LINEFEED, 255 is MAXLEN, -1 is EOF


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us