Distinction between string and sequence

new topic     » topic index » view thread      » older message » newer message

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" < I'd like hier to see: {52,49,53} "415" }


Thanks for help!

Attila Kondor }}}

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu