This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-08-26 15:09:26

Baderous
New Scratcher
Registered: 2011-04-14
Posts: 100+

Convert string of tuples to tuple of tuples

I generated the tupleSequence for a stack and wrote it to a text file. The result is the tupleSequence represented as a string:

Code:

'((#forward: 10) (#say: UTF8[''Hello!'']))'

Now I want to convert this string to the original tuple. How can I do this?

Offline

 

#2 2011-08-27 07:52:24

Baderous
New Scratcher
Registered: 2011-04-14
Posts: 100+

Re: Convert string of tuples to tuple of tuples

Help.

Offline

 

Board footer