HOWTO: Check if a particulare card/stack exists?

K nnoydb at excite.com
Mon Jun 14 15:45:28 EDT 2004



Thanks I am using exists() and I will look into there is.


-==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=-
Disclaimer:

Any resemblance between the above views and those of my
employer, my terminal, or the view out my window are purely
coincidental. 
Any resemblance between the above and my own views is non-deterministic.

 The question of the existence of views in the absence of anyone to hold
them
is left as an exercise for the reader. The question of the existence of
the reader
 is left as an exercise for the second god coefficient. 
(A discussion of non-orthogonal, non-integral polytheism is beyond the
scope of this article.)



 --- On Mon 06/14, Jeanne A. E. DeVoto < revolution at jaedworks.com > wrote:
From: Jeanne A. E. DeVoto [mailto: revolution at jaedworks.com]
To: use-revolution at lists.runrev.com
Date: Mon, 14 Jun 2004 11:41:46 -0700
Subject: Re: HOWTO: Check if a particulare card/stack exists?

At 11:13 AM -0400 6/14/2004, K wrote:<br>>I was wondering how I can check of a specific card/stack exists <br>>(actually sub stack/card exists).<br><br>Use the "there is a" operator:<br><br>To check if a card exists:<br>   if there is a card "My Card" then... -- in the current stack<br>   if there is a card "My Card" of stack "My Stack" then...<br><br>To check if a stack is loaded into memory:<br>   if there is a stack "My Stack" then...<br><br>To check if a stack exists in a particular file (loaded into memory or not):<br>   if there is a stack "My Stack" of stack "/Disk/Folder/File.rev" then...<br><br>To check if a stack is a substack of another stack that's in memory:<br>   if there is a stack "My Substack" of stack "My Main Stack" then...<br>-- <br>jeanne a. e. devoto ~ jaed at jaedworks.com<br>http://www.jaedworks.com<br>_______________________________________________<br>use-revolution mailing list<br>use-revolution at lists.runrev.com<br>http://lists.runrev.com/mailman/listin
 fo/use-revolution<br>

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


More information about the use-livecode mailing list