[comp.sys.mac.hypercard] background id being changed

icapon@registry.adelaide.edu.au (Nick Capon) (10/22/90)

The following occurs in a "straight out of the box" SI with Hypercard 2, 
no inits. Some background ids in a stack with 8 backgrounds are sometimes 
changed before the paste command in the sequence
domenu "New Card" -- the created card has the right bkgnd id
domenu "Cut Card"
go somewhere -- deleting this removes the problem
domenu "Paste Card"

The pasted card does have the same bkgnd name as the original, and I am 
using workrounds such as

repeat with i = 1 to the number of cards of bkgnd "x"

rather than constructions involving "this" . "This" seems to rely on the 
id. The dodge works but is a nuisance.

Something like this has happened before. Is there any new factor in Hycd 2 
that upsets the id mechanism?

As far as I can see, the problem does not occur on an SE. On that machine 
my stack tends to bomb for lack of memory, but doesn't suffer from the 
bkgnd id problem.

 One might also argue that allowing backgrounds with the same names but 
different ids
(or vice versa) is (another) bug.