ugakebet 4 Posted June 28, 2011 Report Share Posted June 28, 2011 Hello,How do I return the value of a javascript math value into the 'cycles' area of loop? Im using the Math.ceil() function and I have to return the value of it into the no of times to loop? Any ideas? AC Quote Link to post Share on other sites
ugakebet 4 Posted June 28, 2011 Author Report Share Posted June 28, 2011 Hello,How do I return the value of a javascript math value into the 'cycles' area of loop? Im using the Math.ceil() function and I have to return the value of it into the no of times to loop? Any ideas? AC hey guys, I fixed it........ I never knew that I could insert javascript code into the eval Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted June 28, 2011 Report Share Posted June 28, 2011 and from javascript if you return the value, you can also use the return node to return the value as well. when there's 1 way there's a million others. Quote Link to post Share on other sites
JohnB 255 Posted June 28, 2011 Report Share Posted June 28, 2011 Just for future reference, I have a video tutorial on exactly how to do this. http://learnubot.com/video-ubot-tutorials/using-javascript-to-calculate-loop-cycles-intermediate/ John Quote Link to post Share on other sites
ugakebet 4 Posted June 29, 2011 Author Report Share Posted June 29, 2011 Just for future reference, I have a video tutorial on exactly how to do this. http://learnubot.com/video-ubot-tutorials/using-javascript-to-calculate-loop-cycles-intermediate/ John Thank you Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.