[comp.sys.mac.hypercard] HC 2.x bug with recent card?

bobsoron@world.std.com (Bob Soron) (06/18/91)

 
I've written a stack that has a list on each card and a master list
that, on openCard, is stored in a second field on the card. By moving
from card to card and clicking on items in the smaller list, they're
put after the master list. The relevant line in the openCard handler is
 
  put bg fld id 4 of recent card into bg fld id 4
 
Since this doesn't work when the stack is first opened, of course, I
test for that condition with this code:
 
  if the short name of this stack is not in the long name of recent card
  then
    pass openCard
    exit openCard
  end if
 
But this test always fails. Today, immediately after opening the stack
from the Home stack, I typed "the short name of this stack" into the
Message box and got the expected results (the stack, a tickler, is
called "Yo Bob!").
 
I then typed "the long name of recent card" into the Message box; instead
of seeing a reference to the Home stack, I got
 
card id 3916 of stack "Dogcow II:HC 2.x:Bob's Stuff:Yo Bob!"
 
When I click before this line, type the word "go," and press Return,
I get the error message "No such card." But when I clear out the Message
box and just type "go recent card," I'm correctly returned to the Home
stack.
 
This behavior happens whether I open the stack from the Finder or
from the Home stack. It has happened in HC 2.0, 2.0v2, and 2.1.
 
Anyone able to reproduce this? Is my handler missing something, am I
making an invalid assumption, or *is* it a bug?
 
Bob Soron
bobsoron@world.std.com