Replacement for print
I've just uploaded a replacement 'print' statement.
This include file implements a replacement for the standard
'print' statement, and a string user-defined-type.
To use it, just include print.e and then your print
statements will display strings as text rather than numbers.
It also handles nested sequences.
eg.
print(1, "Hello, world")
comes out as...
Hello, world
string Name Name = "Derek"
integer Age Age = 49
atom Weight Weight = 96.5
print (1,{"Name=", Name, ", Age=", Age, ", Weight=", Weight})
comes out as ...
Name=Derek, Age=49, Weight=96.5
print(1, {{"abc", 34}, 5, {{1,2,3},{3,4,"def"}}})
comes out as ...
{abc,34},5,{{1,2,3},{3,4,def}}
--
Derek Parnell
Melbourne, Australia
|
Not Categorized, Please Help
|
|