I wish we had a do ... repeat statement!!!
Dave
dave at looktowindward.com
Wed Apr 18 06:02:26 EDT 2007
Hi,
I've just finished coding one of the most complicated multiple loops
I've ever had to do! I must say that the amount of code that I had to
write could have been cut down quite a lot if RunRev had a do <this>
repeat while statement.
In C the syntax is:
while (x > 0)
{
do these statements
}
Which in RunRev is roughly equivalent to:
repeat while x > 0
do these statements
end repeat
But C also has this structure:
do
{
do these statements
}
while (x > 0)
which AFAIK doesn't have a RunRev equivalent.
Would be so nice to have something like:
dorepeat
do these statements
dorepeat while x > 0
So whatever syntax works better!
All the Best
Dave
More information about the use-livecode
mailing list