[comp.sys.mac.hypercard] bug in Hypercard 2v2

icapon@registry.adelaide.edu.au (Nick Capon) (03/18/91)

The following script is extracted from a larger stack which works with 
1.2.5.  I recently converted to 2.0v2. 

This demo needs one card with one field called dump and a button with this 
script.

on mouseUp
  put return before line 1 of card field "dump" -- creates an empty line 1
  -- next command invokes the put into msg, as it should 
  if word 1 of line 1 of card field "dump" is empty then put "yes!" 
  -- all OK so far, but
-- next command  puts 005 into line 2, not line 1
  put "005" into word 1 of  line 1 of card field "dump"
  -- next one correctly put 004 into line 1
  put "004" into line 1 of card field "dump"
 end mouseUp

The problem is with  the put of 005. It is writing into an empty word in 
an empty line, and used to work as  one hoped. Now it writes into the next 
line. Writing into the empty line (the "put 004..") is OK.   I have 6.0.5 
on an SE/30.