HyperCard 2.1: Don‘t Specify Root File Name as :: (8/92)

In HyperCard 2.0, I use double colons (::) to specify the root directory without knowing the name of the hard disk (so the script is not hardcoded with the name of my disk). But now, when I run HyperCard 2.1, every time I open a file inside a subdirectory using a command such as:

open file ":: tmp dir:tst.txt"

It closes the file immediately after opening it. So when I try to write to
it with the command:

write "test" to file ":: tmp dir:tst.txt"

HyperCard complains that the file is not open. The same script runs fine on a Macintosh Plus with HyperCard 2.0.

A bug in HyperCard 2.1 keeps the subdirectory specification "::" from working as it did in HyperCard 2.0. This will be fixed in a future release of HyperCard.

This article is adapted from the Claris Tech Info database.

Support Information Services
Published Date: Feb 19, 2012