Just a guess.

Could the enabling of a button make it show up as 'another' or different instance of a button???
Since you are going through sequentially then buttons 8 through 18 are now in a different state i.e. enabled.
Could the repeat be counting them again since they are now enabled???
button:
7 - not enabled
repeat
8 - not enabled
8 - make enabled
repeat
8 - now enabled
repeat
9 - not enabled
9 - make enabled
repeat
9 - now enabled


I don't know....

Tom

On Mar 10, 2004, at 10:59 AM, Rob Cozens wrote:

Morning, all

I cannot believe what I am seeing here,and will personally crown the person who can explain this sleuth of the day:

Scenario:

* Rev 2.1.2, Mac OS 10.2.3

* Card with 21 buttons

* The names of buttons 8 thru 18 end in "Title", the names of buttons 1-7 & 19-21 do not

* repeat loop

repeat with x = 1 to the number of buttons
if the last word of the short name of button x is "Title" then enable button x
end repeat


I set a breakpoint at the "if" statement and run the handler in the debugger with the variable watcher focused on the vale of x.

The repeat loops TWICE when x is between 8 & 18!!

--

Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.net/who.htm

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to