Author Topic: Convert list to string?  (Read 2247 times)

0 Members and 1 Guest are viewing this topic.

Offline collechess

  • LV3 Member (Next: 100)
  • ***
  • Posts: 93
  • Rating: +22/-2
    • View Profile
Convert list to string?
« on: December 25, 2011, 12:54:52 pm »
Is it possible to convert a list to a string in TIBASIC?

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Convert list to string?
« Reply #1 on: December 25, 2011, 01:27:14 pm »
There is this, but I don't know if that is exactly what you are looking for
http://ourl.ca/13750/257851
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Convert list to string?
« Reply #2 on: December 25, 2011, 06:37:18 pm »
Depends what the values of the list are. If they're all small, known integer values, you can use a routine similar to the one on TI|BD's [tibd]list-to-string[/tibd] page. If not, you have to loop through the list, converting each number into a string with the [tibd]number-to-string[/tibd] routine.




Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Convert list to string?
« Reply #3 on: December 29, 2011, 12:52:18 pm »
or there is simple Celtic III's command: det(1,List
Sig wipe!