Creating variables

François Chaplais francois.chaplais at mines-paristech.fr
Wed Aug 6 08:22:04 EDT 2008


Le 6 août 08 à 13:48, Eric Chatonet a écrit :

> put the long ID of fld "MyField" into tObj
> put empty into tObj
> set the showBorder of tObj to true

I have tried this
---------
on mouseUp
   put empty into fld 1
put the long ID of fld 1into tObj
put "hello" into tObj --- does not work, tObj now contains "hello"
end mouseUp
----------
and it does not work (field stays empty, script executes). However
---------
on mouseUp
   put empty into fld 1
put the long ID of fld 1into tObj
set the text of  tObj  to "hello"--- works
end mouseUp
-----------
works.

Best regards,
François



More information about the use-livecode mailing list