Yes it does - which is why the script deletes the stack from memory if it was not already loaded before hand. I use this script routinely when looping through indexes of stacks which may have been moved or deleted by hand, and wrote it to avoid the problem of loading everything into memory - I am sure there are better ways.
<br><br><div><span class="gmail_quote">On 02/07/07, <b class="gmail_sendername">J. Landman Gay</b> <<a href="mailto:jacque@hyperactivesw.com">jacque@hyperactivesw.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
David Bovill wrote:<br>> These are the functions I have:<br>><br>> function stack_Exists someName<br>> -- will not add stack to memory<br>><br>> set lockmessages to true<br>> put the mainstacks into stacksInMemory
<br>> put empty into shortStackName<br>> if exists(stack someName) then<br><br>I thought the exists() function opens and loads the stack the same way<br>"there is a stack" does?<br><br>--<br>Jacqueline Landman Gay |
<a href="mailto:jacque@hyperactivesw.com">jacque@hyperactivesw.com</a><br>HyperActive Software | <a href="http://www.hyperactivesw.com">http://www.hyperactivesw.com</a><br>_______________________________________________
<br>metacard mailing list<br><a href="mailto:metacard@lists.runrev.com">metacard@lists.runrev.com</a><br><a href="http://lists.runrev.com/mailman/listinfo/metacard">http://lists.runrev.com/mailman/listinfo/metacard</a><br>
</blockquote></div><br>