Distinction between string and sequence
- Posted by Kondor Attila <euflev at dpg.hu> Dec 22, 2004
- 456 views
I'd like print sequences and strings. If the members in sequence are smaller then ascii_max the sequence prinoutt and string printout are equal. ----------
include Misc.e
procedure the_end() puts(1, "\nPress Enter to continue\n") if atom(gets(0)) then end if abort(0) end procedure
without warning - sequence seq
seq={{52,49,53},"415"}
pretty_print(1, seq, {2,5})
puts(1,"\n")
the_end() }}}
-------
The result: { "415" <
Attila Kondor }}}