clear fields
Jim Ault
JimAultWins at yahoo.com
Fri Jun 3 14:14:32 EDT 2005
On 6/3/05 11:02 AM, "Bob Hartley" <rev at armbase.com> wrote:
> Then I thought that since the field is number x and the fields are field1,
> field2 etc then
> on mouseUp
> repeat with x = 1 to the number of flds
> if the name of fld x is "field" & "x"
> then put empty into fld x
> end repeat
> end mouseUp
>
> No luck there
>
> bob
>
You do not want the literal "x", so use the following
if the name of fld x is ("field" & x)
--without the quotes and preferentially the parens
Jim Ault
Las Vegas
More information about the use-livecode
mailing list