Bad statement

Lynch, Jonathan bnz2 at cdc.gov
Thu Apr 14 11:03:14 EDT 2005


Can you have control 0?

Shouldn't your repeat loop start with 1?

-----Original Message-----
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of N
Sent: Thursday, April 14, 2005 11:01 AM
To: use-revolution at lists.runrev.com
Subject: Bad statement



get the number of controls of card "abc"
put it into _numberControls 

repeat with i = 0 to _numberControls
   get the ID of control i of card "abc"

end repeat 


The line that fails is "get the ID of control i of card "abc""

K


-==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=-
Disclaimer:

Any resemblance between the above views and those of my
employer, my terminal, or the view out my window are purely
coincidental. 
Any resemblance between the above and my own views is non-deterministic.

 The question of the existence of views in the absence of anyone to hold
them
is left as an exercise for the reader. The question of the existence of
the reader
 is left as an exercise for the second god coefficient. 
(A discussion of non-orthogonal, non-integral polytheism is beyond the
scope of this article.)



_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list