"for()" and "while()" loops

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

"for()" and "while()" loops

Postby roobre » Fri Jul 23, 2010 5:54 pm

Hi There!
I tried to find out the syntax for "for" and "while" loops in Phun, but i couldn't find nothing.
How can I do that?
User avatar
roobre
 
Posts: 11
Joined: Sat Sep 05, 2009 5:14 pm

Re: "for()" and "while()" loops

Postby Kilinich » Fri Jul 23, 2010 8:34 pm

for (5, (i) => { print (i)} )
Dream of Algodoo as game development engine...
User avatar
Kilinich
[Best bug reporter 2010]
 
Posts: 2098
Joined: Mon Aug 31, 2009 8:27 pm
Location: South Russia


Return to Thyme scripting

Who is online

Users browsing this forum: No registered users and 9 guests