Forum Navigation
scanf()-compatible protocol
Moderators:
kris
Posted: 06/17/07 20:56:15I didn't see an I/O protocol for C/scanf-style I/O (data is not written binary but readable and is divided by whitespace). What do you think about this for compatibility? I already started to code, because of my needs. If you're interested, I can improve mine and submit it as a ticket.
It tokenizes the input (via tango.text.Util.isSpace()) and reads/writes basic data types with text.convert.Integer/Float format() and parse() routines. For simple stuff it already works, reading/writing arrays might need some more attention as well as Void/Obj/Pointer switches.