IsAstack ( )

David Bovill david at openpartnership.net
Mon Jul 2 14:05:50 CDT 2007


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.

On 02/07/07, J. Landman Gay <jacque at hyperactivesw.com> wrote:
>
> David Bovill wrote:
> > These are the functions I have:
> >
> > function stack_Exists someName
> >    -- will not add stack to memory
> >
> >    set lockmessages to true
> >    put the mainstacks into stacksInMemory
> >    put empty into shortStackName
> >    if exists(stack someName) then
>
> I thought the exists() function opens and loads the stack the same way
> "there is a stack" does?
>
> --
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.runrev.com/pipermail/metacard/attachments/20070702/3f5aa4cb/attachment.html


More information about the metacard mailing list