Re: Yapp (yet another pretty print)
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> May 23, 2003
- 423 views
On Fri, 23 May 2003 13:38:07 +0200, Juergen Luethje <j.lue at gmx.de> wrote: >I think I've found a bug. It was alredy there, before I applied the >modification mentioned above. Please try: > >s =3D {{{"blue", "red"}, {"cyan", "white"}}, > {{"blue", "red"}, {"cyan", "white"}}} > >prnt(s, 2) >puts(1, "---------------------------\n") >prnt(s, 3) > >Unfortunately, I don't have sufficient understanding of the algorithm, >to tweak it myself. I may have to think about this one a while. >Another suggestion. The current version doesn't print special characters >above ASCII 126. <snip> >Therefore, in function prnf() I removed > or cl[i]>'~' > and cl<=3D3D'~' No, replace them with #FF instead. I'll make that the default. Thanks, Pete