Are you familiar with JavaScript at all? It has built in keywords for looping ( such as "for" )
Check out http://eloquentjavascript.net/chapter2.html On Fri, Apr 6, 2012 at 7:38 AM, linxha <linu...@gmail.com> wrote: > I'd like to run some user code, which runs in a loop > > pseudo user code: > > if ... then ... else ... end; > x = ....; > blah; > blah; > blah; > > Think of it as BASIC (it's interpreted). I've found process.nexttick > but I'm having difficulty understanding how to take my loop a of lines > of user code, loop through them and execute each line with next tick. > Obviously I have events being triggered updating the user variables > (devices such as arduinos). Does anyone have any pointers? > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to nodejs@googlegroups.com > To unsubscribe from this group, send email to > nodejs+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > -- -- Marak Squires Co-founder and Chief Evangelist Nodejitsu, Inc. marak.squi...@gmail.com -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en