Learning about GLOBALS late in life . . .

Jacques Hausser jacques.hausser at unil.ch
Mon Nov 16 11:59:18 EST 2009


Richmond

If the globals are defined in a handler, they must be defined in each handler using them...
if you define them at the script level, no problem

Jacques
Le 16 nov. 2009 à 17:53, Richmond Mathewson a écrit :

> tried this:
> 
> on mouseDown
>  global LEFTT, TOPP
>  put the top of fld "acre" into TOPP
>  put the left of fld "acre" into LEFTT
>  grab me
>  end mouseDown
> 
> on mouseUp
>  put the bottom of fld "acre" into DOWP
>  put the right of fld "acre" into RITE
>  put RITE - LEFTT into WIDD
>  put DOWP - TOPP into HITE
> end mouseUp
> 
> and the third line within the 'on mouseUp'
> threw "a bluey"
> 
> ??????
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

******************************************
Prof. Jacques Hausser
Department of Ecology and Evolution
Biophore / Sorge
University of Lausanne
CH 1015 Lausanne
please use my private address:
6 route de Burtigny
CH-1269 Bassins
tel/fax: 	++ 41 22 366 19 40
mobile:	++ 41 79 757 05 24
E-Mail:	jacques.hausser at unil.ch
*******************************************




More information about the use-livecode mailing list