Re: Suggestion for pretty_print()

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

D. Newhall wrote:

> Ryan W. Johnson wrote:

<snip>

>> Yes, i agree. We have "atom" and "integer", why not "sequence" and "string"?
> 
> Because "string" is a common variable name and would break a large body of
> code.

You can now even use "sequence" as variable name (tested with Eu 2.5):
sequence text
atom sequence

text = "Huhu"
sequence = 3
puts(1, text & "\n")
? sequence

After exchanging the first two lines, you'll get an error, though.

However, it shouldn't be too hard to rename variables from "string" to
"String" or whatever. In the archives, there are alpha versions from
the year 2000 or so. I think it's time to revise these programs anyway.
smile

Regards,
   Juergen

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

Search



Quick Links

User menu

Not signed in.

Misc Menu