[net.lang.mod2] I/O library request

silvert@dalcs.UUCP (Bill Silvert) (06/01/86)

I've recently started on Modula-2 (TDI version on the Atari ST) and have
discovered that standard I/O is a lot less featured than the C standard.
It seems necessary to write a lot of one's own routines to generate such
simple features as %d output or zero fill.  While they don't look very
hard to write, it might solve a lot of repetition if those of you who
already have these modules written post them to the net.

It would also be nice to see some more source code posted to the net,
since one of the best ways to learn good programming is to read good
programs.

Finally, if some of you have Modula-2 versions of some of the C
standard utilities, such as uudecode, it would be handy for those of us
running TDI Modula-2 on micros without the ultra-expensive developer's
kits.

zben@umd5.UUCP (06/05/86)

In article <1973@dalcs.UUCP> silvert@dalcs.UUCP (Bill Silvert) writes:
>Finally, if some of you have Modula-2 versions of some of the C
>standard utilities, such as uudecode, it would be handy for those of us
>running TDI Modula-2 on micros without the ultra-expensive developer's
>kits.

Just recently several C and Pascal versions of UUENCODE/UUDECODE were
posted to the net.  Unless they use the missing features the lack of which
you bemoan, it seems to me at least the Pascal versions should be rather
easily translated to Modula-2...

-- 
"We're taught to cherish what we have   |          Ben Cranston
 by what we have no longer..."          |          zben@umd2.umd.edu
                          ...{seismo!umcp-cs,ihnp4!rlgvax}!cvl!umd5!zben