Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!magnus.ircc.ohio-state.edu!tut.cis.ohio-state.edu!turtle.cis.ohio-state.edu!hughson From: hughson@turtle.cis.ohio-state.edu (Jerry R Hughson) Newsgroups: comp.sys.mac.hypercard Subject: Re: Current Card of Another Stack? Message-ID: <90657@tut.cis.ohio-state.edu> Date: 5 Mar 91 01:19:30 GMT References: <6448@rex.cs.tulane.edu> Sender: news@tut.cis.ohio-state.edu Reply-To: Jerry R Hughson Organization: Ohio State University Computer and Information Science Lines: 36 In article <6448@rex.cs.tulane.edu> mandel@vax.anes.tulane.edu (Jeff E Mandel MD MS) writes: ... >(need I mention this is HC 2.0?). I am on stack A. I want to go to stack B (to >get something) and back to stack A without changing the current card of stack >B. Now if I could say > > go to current card of stack B > >I would be OK. Of course, saying > > go to stack B > >just goes to the first card of the stack. I would prefer not to have to modify >the stack to have it keep track of the current card. Any ideas? > >Jeff E Mandel MD MS >Asst Professor of Anesthesiology >Tulane University School of Medicine >New Orleans, LA One idea would be to store the Id's of the cards in HyperTalk globals. ... global stackAID, stackBID ... put the id of this card into stackAID go to card stackBID of stack b ... Another way might be the use of push and pop card, but I think that could get messy. hope this helps :-) J.R. Hughson hughson@cis.ohio-state.edu jhughson@magnus.acs.ohio-state.ed