2009/10/1 Richard <[email protected]>: > > lets keep print.lib as it is so an stread ahead output and format an > output library able to control output format as you suggest before. > In this case we don’t use an array but modify format in the way you > setup print library but with the bells and whistles to control the > format off course. > > Please let me know if this is fine with you. Fine with me!
>> Thinking about implementation, I think a buffer will simplify the >> implementation, since you can start with the least significant digit. >> A generic routine can convert a variable to a string of chars in any >> given base, a second pass adjust the format like inserting a fixed >> point, adding whitespaces etc. > > That’s right, but IMO only necessary if we would had decided to let > format.lib control the format of a variable or time or date and > print.lib control the output of that variable or time or date. > But above mentioned solution is the most simple one more within the > current situation and cost less work space. > Well, we have less ram then flash, so good if you can do without the buffer. Joep --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jallib?hl=en -~----------~----~----~----~------~----~------~--~---
