Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!jdevoto From: jdevoto@Apple.COM (Jeanne A. E. DeVoto) Newsgroups: comp.sys.mac.hypercard Subject: Re: HC2 with HC1 stacks on CD-ROM? Message-ID: <48831@apple.Apple.COM> Date: 5 Feb 91 05:04:22 GMT References: Organization: Apple Computer Inc., Cupertino, CA Lines: 31 In article steve@Advansoft.COM (Steve Savitzky) writes: >This may be a stupid question, but what does HC2 do when you try to >open an HC1 stack on a CD-ROM? I know it normally tries to convert >your stack; obviously on a CD-ROM this would be impossible. Does it >make do, or give up? Actually, HyperCard 2.0 doesn't try to convert 1.x stacks willy-nilly (unless of course you have a handler installed that does so). When you open a 1.x stack with 2.0, it behaves as if the cantModify were set to true: that is, you can't make (permanent) changes to the stack. In other words, it acts just like HyperCard 1.2.5 opening a stack on a locked volume like a CD-ROM. When HyperCard 2.0 opens a 1.x stack, it changes the "Compact Stack" menu item to "Convert Stack". Of course, 2.0 will not be able to convert a stack on a locked volume, but as far as the behavior of the stack is concerned, it really doesn't matter whether it's been converted or not. The main exception to the above is that since it pre-compiles, 2.0 may choke on script errors that went unnoticed under 1.x; for instance, an error in a branch of an if/then statement that normally never executes will be caught by 2.0 when it compiles the whole handler, and 2.0 will complain at that point. -- ========= jeanne a. e. devoto ======================================== jdevoto@apple.com | You may not distribute this article under a jdevoto@well.sf.ca.us | compilation copyright without my permission. ______________________________________________________________________ Apple Computer and I are not authorized | CI$: 72411,165 to speak for each other. |