Search found 2 matches

by evopres24
Sat Jan 29, 2011 5:34 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Repeat loops ???
Replies: 8
Views: 7103

Re: Repeat loops ???

nvm this is what I did... on mouseUp put field "Field 1" into x put field "Field 2" into y put 0 into multResult repeat until y = 0 put (multResult +x) into multResult put (y-1) into y end repeat put multResult into field "Field 3" end mouseUp (this is for multiplication) on mouseUp put field "Field...
by evopres24
Fri Jan 28, 2011 7:22 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Repeat loops ???
Replies: 8
Views: 7103

Repeat loops ???

How do you go about writing a script that could carry out multiplication with a series of addition operations. Using a repeat loop to carry out the "repeated" additions. Included with nested repeat loops for the repeated multiplication