How do you convert a List back to a sequence ?

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

My Problem is converting a List-string back to a sequence: (# comments)
Consider the following:

MyList = (blaa....blaa...)
MyDate = {2000,03,15}
# to put this into  Mylist

addItem(MyList, sprint(Mydate))  --# if you don't sprint Mydate, it will
bomb out in certain conditions!!???
# now I want to call MyList to use it to reference to a date in the calendar

MyNewDate = getItem(MyList, i)  # i is the number in of the item in the list
# but alas, this is no longer {2000,03,15}
# what is it? - I don't know, I can't seem to figure it out.

How do you convert (MyList, i) back to MyDate sequence, so I can use
subscripting to access the elements?

Arthur B. Mashiatshidi

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

Search



Quick Links

User menu

Not signed in.

Misc Menu