If exists question

Scott Rossi scott at tactilemedia.com
Sun Mar 28 12:29:39 EST 2004


On 3/28/04 8:50 AM, "Mark MacKenzie" <m.mackenzie at sasktel.net> wrote:

> Okay, I have been wrestling with this one long enough that I don't need
> a haircut for another month!
> 
> I create by cloning from a "master" card a new card.  During the cloning
> I capture the new card's abbreviated ID and change its card name to
> "EmptyCard".
> 
> The new card's abbr ID is put into global gNewCardID
> 
> Then, at the end of this handler:
> 
> wait 30 milliseconds -- put in to allow Rev to catch up with functions
> if exists(gNewCardID)
>   then
>      go to gNewCardID
>      put emtpy into gNewCardID
> end if

What happens if you try this:

  if exists(value(gNewCardID))

Or this:

  if exists(quote & gNewCardID & quote)

Regards,

Scott Rossi
Creative Director
Tactile Media, Development & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com



More information about the use-livecode mailing list