Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!xanth!nic.MR.NET!umn-cs!bungia!orbit!pnet51!american From: american@pnet51.cts.com (Jeff Iverson) Newsgroups: comp.sys.mac.hypercard Subject: Getting cantModify Message-ID: <1114@orbit.UUCP> Date: 9 May 89 13:45:09 GMT Sender: root@orbit.UUCP Organization: People-Net [pnet51], Minneapolis, MN. Lines: 21 I think I've spotted a problem with the cantModify property. While creating a multiuser-multistack-distributed database in HyperCard I found a need to determine if more than one person was accessing the same stack at the same time (since only one may write and all the rest may read). It occurred to me to get cantModify and if it was true, then there was obviously someone in the stack with write access. However, much to my chagrin, I discovered that while one may set cantModify, they may not get cantModify. Why is this? It seems to me to be obviously desireable, and not an appreciable hardship for HyperCard to perform the task. The workaround, for now, is to set a flag if one has write access, and test for that flag on every entry to the stack. While this doesn't add much overhead, it would be nice to use structures that are built in to HyperCard than adding devices to my stacks to do HyperCard's job. Yours in HyperCard, Jeff Iverson UUCP: {amdahl!bungia, uunet!rosevax, chinet, killer}!orbit!pnet51!american ARPA: crash!orbit!pnet51!american@nosc.mil INET: american@pnet51.cts.com