Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!world!lucifer From: lucifer@world.std.com (Kevin S Green) Newsgroups: comp.sys.apple2 Subject: Why was Hypercard //gs written in Pascal? Summary: just a question, NOT A FLAME! Message-ID: <1991Feb12.223449.9492@world.std.com> Date: 12 Feb 91 22:34:49 GMT References: <1991Feb7.060339.16154@csn.org> <49059@apple.Apple.COM> Organization: The World @ Software Tool & Die Lines: 23 In article <49059@apple.Apple.COM> stadler@Apple.COM (Andy Stadler) writes: >Yep, that's exactly the right thing to do. Here's actual real live source >code from HyperCardIIGS, where we needed to do exactly what you describe: > > hyperCardResFile := startStopInfo.resFileID; > {$IFC Internal } { convert the read-only resource fork to read/write } > CloseResourceFile(hyperCardResFile); > hyperCardResFile := OpenResourceFile(read+write, NIL, hyperCardAppName); > IF _toolErr <> 0 THEN hyperCardResFile := 0; > startStopInfo.resFileID := hyperCardResFile; > {$ENDC } > Just a simple question Andy, (Not a flame!). Why did the HC//gs team go with pascal as the language for writing the program? Was C considered but lost out? Was Assembly also avoided? Just for trivia's sake, I'd like to know some of the thought behind the designing of HC//gs. -- Kevin S. Green / lucifer@world.std.com / {xylogics;uunet}!world!lucifer Party naked... /AOL: Gargoth / Pro-line: kgreen@pro-angmar