How about arranging the output in columns?
> procedure print_byte_array_dec(volatile byte out device,
> byte in
> data[]) is
> var byte step
> for count(data) - 1 using step loop
if data[step]<100 then
device=' '
end if
if data[step]<10 then
device=' '
end if
> print_byte_dec(device, data[step])
> device = " "
> end loop
> print_byte_dec(device, data[step])
> end procedure
>
>
> binary, word and dword array procedures could also be added
> but I
> think the above two are most important.
I don't even see the byte array procedures as important, but it wouldn't hurt
having them :-)
Sorry, OT, but how about a global bit like "print_decimal_space_padding" to
always output decimal numbers in columns, right justfied? Inside the print
procedures it's cheaper than shown above outside.
Greets,
Kiste
--
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.