A script question
Francis Nugent Dixon
effendi at wanadoo.fr
Fri Jul 13 07:32:46 EDT 2007
Hi from Paris,
I ran :
on mouseUp
--global tNames,tName
put "MyField1,MyField2,MyField3,MyField4,MyField5,MyField6,MyField7,"
into tNames
REPEAT for each item tName in tNames -- Clears all fields
--answer tName with "OK"
put empty into field tName
END REPEAT
end mouseUp
Forget about the global declaration and the Answer command. I just like
to see what I'm doing before I comment the commands out !
Runs OK. (although I used different field names than you !)
Check that you have no return in your "put" command. I see "tNames" on
a new line.
That will bring up a script error.
-Francis
"Nothing should ever be done for the first time !"
More information about the use-livecode
mailing list