Hoi Joep,


>
> Think before you act. Very wise indeed.

I have learned :-)

>
> It might be a good idea to have an array to store the intermediate
> result, I don't know...

Makes it easy to continue processing
>
> What I don't understand is why we would split the formatting and the
> output. What is the advantage over adding the device parameter to
> format_word_dec() and call format_print() (well... _format_print() )
> from format_word_dec()?

Personally the idea is that format only deals with formats and if you
want to print the format you use print_format() which sold be added to
the print library so print deals with the output as it should.
It could be interesting to split a value into separate figures ascii
or real for instance to send to a 7 segment display or other
applications.


>
> I don't know how we could do this. Each procedure could of course
> indicate what the buffersize required is. But that would also include
> the procedures that are not used and will be optimised away...

Yes I know,  I was just hoping it would be possible in a way.

>
> I think the user will need to specify a constant for the largest
> 'class' used (or size of the buffer) before the include statement.
> This constant (directly or indirectly) defines the buffer size and
> enables all procedures that operate on that buffer size.

I guess this is the only solution to the above problem although I
rather limit the amount of user defined constants.


>
> See my suggestions (not better idea's).

Ok, but do you and the others like the concept or should we only
modify format that it’s the same as the print lib but with the
addition of controlling the format?

Greetz

Richard

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to