Re: just a comment

2006-11-28 Thread Ken Ray
On 11/28/06 12:36 AM, "Jim Ault" <[EMAIL PROTECTED]> wrote: > On 11/27/06 10:03 PM, "John Vokey" <[EMAIL PROTECTED]> wrote: > >> All, >>One of my students got caught by the following in her stack: >> >>At the top of the card script, she declared some variables local >> to the scripts of

Re: just a comment

2006-11-27 Thread Jim Ault
On 11/27/06 10:03 PM, "John Vokey" <[EMAIL PROTECTED]> wrote: > All, >One of my students got caught by the following in her stack: > >At the top of the card script, she declared some variables local > to the scripts of that card, as we always we do. For one of these > variables, she did

Re: just a comment

2006-11-27 Thread Chipp Walters
Hi John, Actually the behavior is correct. If you declare a local variable OUTSIDE the other handlers of an object, it will stay persistent and is accessible to all handlers/functions for that object. This has some nifty benefits. It allows you to create persistent variables, which aren't global

just a comment

2006-11-27 Thread John Vokey
All, One of my students got caught by the following in her stack: At the top of the card script, she declared some variables local to the scripts of that card, as we always we do. For one of these variables, she did not initialise it in any way. However, the use of that variable is al