Thanks for the suggestions everyone; not quite as simple as that:
on mouseUp
put the short id of this card into KARD
put the name of this stack into STAQ
put the long id of me into DIMENA
send ("delete DIMENA") to card id KARD of stack STAQ in 0 ticks
end mouseUp
that works.
Richmond.