Extract values from Identifiers.

About advanced scenes, and the Thyme scripting language used in Algodoo.

Extract values from Identifiers.

Postby lololoer15_16 » Wed Jul 10, 2013 11:25 am

It's only curiosity:
Example:
Code: Select all
text = {
    c = "hi";
    k = "";
    "" + c + k
}

I wanna extract the value of c.
For example:
Code: Select all
OnCollide = (e)=>{
    _ExtractValue = text.c  (???)
}

But that don't do anthing...
Remember that this is only curiosity; if you know how to do it please tell WE



Thanks.
lololoer15_16
 
Posts: 9
Joined: Wed Jul 03, 2013 5:48 pm
Location: Spain (España)

Return to Thyme scripting

Who is online

Users browsing this forum: No registered users and 6 guests