odd and even numbers

Mark Wieder mwieder at ahsoftware.net
Tue Aug 6 02:13:51 EDT 2013


Paul-

Monday, August 5, 2013, 10:59:27 PM, you wrote:

> I hope the engine is smart enough that "repeat 10000 times" doesn't convert
> the count back and forth between a string and a number ten thousand times.

repeat with the number of bottles of beer on the wall
  take one down
  convert it to a number
  subtract 1 from it
  convert it to a string
  put it back on the wall
end repeat

-- 
-Mark Wieder
 mwieder at ahsoftware.net





More information about the use-livecode mailing list