Newcard: a curious bug!?
Pierre Sahores
psahores at easynet.fr
Sat Oct 4 07:47:00 EDT 2003
Hi Dom,
It's not a bug...
Just because your "answer" brakes the original message path, you just
need to invert your two statments as below to get the expected result :
Bests, Pierre
> on newcard
> send "delete this card" to this card -- in 1 sec
> answer "Only one card, please!"
> end newcard
Le sam 04/10/2003 17:57, Dom a crit :
> I have a single card stack.
>
> I don't want the user adds a new card; so I trap the "newcard" message
> (accordingly with the help)
>
> If I write:
>
> on newcard
> send "delete this card" to this card in 1 sec
> end newcard
>
> That works...
> But if I add a warning, such as in:
>
> on newcard
> answer "Only one card, please!"
> send "delete this card" to this card in 1 sec
> end newcard
>
> That doesn't work... the newly created card is not deleted!
> If I go further and add again new card, it ends with a blank dialog and
> Rev freezes...
--
Bien cordialement, Pierre Sahores
100, rue de Paris
F - 77140 Nemours
GSM: +33 6 03 95 77 70
Pro: +33 1 41 60 52 68
Dom: +33 1 64 45 05 33
Fax: +33 1 64 45 05 33
Inspection acadmique de Seine-Saint-Denis
Applications et SGBD ACID SQL (WEB et PGI)
Penser et produire "delta de rentabilit"
More information about the use-livecode
mailing list