No, it's sketchy because certain operations like cloning or copying
cards can change ID's, because ID's must be unique in a Revolution
stack. Also one programming method uses hidden objects as templates
and then "clones" them so that there is consistency in the interface.
It's easier than p[rogrammatically setting all the properties every
time a new object is created. In this case ID's are useless.
I just think it's bad programming practice. As a teacher, I am sure
you know that part of what you are teaching your students is good
programming habits. If they fail at that, they aren't going to be
very good programmers anyhow. If their discipline is bad enough, they
may even end up like me, and nobody wants that.
Bob Sneidar
IT Manager
Logos Management
Calvary Chapel CM
Is this a programmer-thing?
I ask because I have a devil of a time convincing my students to
*name*
their objects. They end up having problems and it's VERY
frustrating...
Judy
On Fri, 11 Aug 2006, Robert Sneidar wrote:
Since the days of Hypercard, I have known that using ID's to
reference objects was sketchy at best. As a matter of good
programming practice, you should keep track of all your variables and
object names so there is no inadvertent duplication to bite you in
the butt later.
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution