[comp.sys.mac.hypercard] 'go' is not finding the destination stack...

robin@csuchico.uucp (Robin Goldstone) (03/16/89)

Hi all you Hypercard pros!  I need some help.  I have built an application
consisting of six stacks, called (not really):

       main
       stack1
       stack2
       stack3
       stack4
       stack5

Main is the startup stack.  It has buttons to access each of the other
stacks.  Button 'stack1' says:

       on mouseUp
         go stack1
       end mouseUp

There are similar buttons for stacks 2,3,4,5.

I want to locate main at the top level of my hard disk (on the desktop)
and have stacks 1,2,3,4,5 in a folder called 'stax'.  Based on what I've
read in Goodman's book, if I make an entry in the Stacks card in the Home
stack for :stax: then when I do "go stack1"  Hypercard should find it.
Well, it doesn't.  I get the old "Where is..." box.  

Once I tell it where stack1 is and it goes there, I can do a "go stack2"
and it will find it without asking.  

What's my problem?  Is it because the calling stack is not in the same 
folder?  I thought Hypercard is supposed to always look everywhere that
the Stacks card tells it to look...

Any help would be appreciated.

Robin Goldstone, Systems Software Specialist
California State University Chico,  Computer Center
robin@csuchico.edu 

jm7f+@andrew.cmu.edu (Joe Melvin) (03/19/89)

If you specify the full path in your "go" command, HyperCard will always
find the correct stack.

ex:  go stack ".40:hype:stax:stack1" will find stack1 even if you have
       never been to that stack before.


-Joe Melvin
jm7f@andrew.cmu.edu