Page 1 of 1

Repeat loops won't work anymore

Posted: Sat Jul 14, 2007 10:31 pm
by paulgabel
Rev Studio 2.8.1 build 470
Macintosh (iMac) Intel
Mac OS X 10.4.10

I like working hard to solve a problem, but when something as simple as a repeat loop stops working it is very frustrating. All of my repeat loops are dead. I made a test button with this simple script, and it won't work either:

Code: Select all

 
on mouseUp
  repeat 3
    go next cd
    wait 1 second
  end repeat
end mouseUp
(There are 30 cards in this stack, and the button is on card 1.)

All I get is the error: "repeat-error in statement" and it hilites the first repeat line (repeat 3, in this case). All of my repeat structures in my stacks trigger the same error! "Repeat with x = 1 to 3" structures won't work either. What could I possibly be doing wrong? Or is it the latest build of Revolution Studio that I downloaded and installed yesterday? I'm stymied. Any ideas?

Posted: Sat Jul 14, 2007 10:52 pm
by kpeters
Paul ~

the only thing I have to offer is this:

Had weird things happen, too, and suspected a corrupted stack. What finally helped was to completely uninstall all things Revolution, and then install 2.8.1 again.

I had - up to that point - always updated Revolution over top of the previous version.....

HTH,
Kai

Posted: Sun Jul 15, 2007 12:42 am
by paulgabel
Thank Kai: Is it the stack that might be corrupted, or Revolution itself, or a corrupted Revolution corrupting a stack? I don't suppose Revolution has an uninstaller.

Posted: Sun Jul 15, 2007 12:53 am
by kpeters
Good questions -

I would start with the easiest and reinstall. In your "Installation Data" there is an Uninstaller.

I also wiped the Rev dir with rm to be sure....

That's all I had to do - could have been worse, I guess... Backups are my friends!

Kai

Thanks

Posted: Mon Jul 16, 2007 5:57 am
by paulgabel
Thanks Kai. I followed your advice to uninstall and reinstall. This seems to have solved the problem, though I have other weirdnesses that didn't get fixed. :D