1. PRINT.E

Fellow Euphorians,

I have recently submitted PRINT.E to the contributions page.  It's an
include file with a redefined print() routine, one that prints string-valued
sequences as strings.  For example, normally when you code something like
this...

     print(1, {5,"Hi!\n"})

..you would get this:

     {5,{72,105,33,10}}

However, if you include print.e before this statement, you'll get this:

     {5,"Hi!\n"}

This is far more readable, and takes up less space, too.  The redefined
print() will find strings at *any* depth in a sequence, and it runs in about
the same time as the built-in print() -- faster in some cases!

Since it prints the strings out in a Euphoria-readable fashion, get() will
still read your data just the same as it did before.  Basically, you just
include print.e at the top of your program, and you don't have to change
another line of code!

PRINT.E is FREEWARE, try it out and let me know what you think!


Be seeing you,
   Gabriel Boehme

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu