Script help needed

David Squance squance at elkvalley.net
Tue Dec 30 01:07:58 EST 2003


Greetings,
The following is part of a button script which gives an error message
"chunk: no such object"

 put the drawnumber of this card into temp2   -- there is the correct value
in the custom properties
  toplevel stack "draw lists"   -- goes to another substack
  find temp1  -- this is from further up the handler, finds the correct
card and is not a problem
  put empty into fld temp2  -- there *is* a fld with the name drawn from
the custom property

If I use the message box with:

 put the drawnumber of this card into temp2
  toplevel stack "draw lists"
  find temp1
  put temp2

I get the expected result--the name of fld to be emptied.
I tried:

put quote&temp2&quote into temp2

since it is a field name, but that made no difference.

Any help would be appreciated.  TIA




More information about the use-livecode mailing list