1. How to change a squence to an atom

How would I change something like

sequence dog="123"

into an atom. Or change and atom into a sequence?

new topic     » topic index » view message » categorize

2. Re: How to change a squence to an atom

Fendaril said...

How would I change something like

sequence dog="123"

into an atom. Or change and atom into a sequence?

Take a look at value() in get.e. To convert an atom, you want to use sprintf().

Matt

new topic     » goto parent     » topic index » view message » categorize

3. Re: How to change a squence to an atom

You might also look at to_number or to_integer.

Edit: Surprisingly, the way the docs are currently organized, I found the two new routines above more quickly than I could find value.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu