What am I doing wrong here?

Shawn Blc shawnlivecode at gmail.com
Wed Apr 24 02:06:26 EDT 2013


I have the link to the stack here
http://forums.runrev.com/viewtopic.php?f=7&t=14895




On Wed, Apr 24, 2013 at 1:03 AM, Igor de Oliveira Couto
<igor at semperuna.com>wrote:

> Quick guess:
>
> On 24/04/2013, at 3:33 PM, Shawn Blc <shawnlivecode at gmail.com> wrote:
>
> > *on* mouseUp
> >
> >   *if* grpA1 = correctAnswer *then*
> >
> >  *add* 5 to field "fldCorrect"
> >
> > *else*
> >
> >   *add* 5 to field "fldWrong"
> >
> >   *end* *if*
> >
> > *end* mouseUp
>
> It seems that "grpA1" and "correctAnswer" are local variables - ie., local
> to the mouseUp handler - and yet you are not setting the values of these
> variables anywhere in the handler.
>
> Is that it?
>
> --
> Igor Couto
> Sydney, Australia
>
>
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list