Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!ceres.physics.uiowa.edu!iowasp.physics.uiowa.edu!maverick.ksu.ksu.edu!kuhub.cc.ukans.edu!wuarchive!usc!apple!stadler Newsgroups: comp.sys.apple2 Subject: Re: Any Pascal programmers for Apple II GS? Message-ID: <52823@apple.Apple.COM> From: stadler@Apple.COM (Andy Stadler) Date: 13 May 91 21:16:36 GMT References: <14308@ucrmath.ucr.edu> <16114@smoke.brl.mil> Organization: Apple Computer Inc., Cupertino, CA Lines: 20 In article <16114@smoke.brl.mil> gwyn@smoke.brl.mil (Doug Gwyn) writes: >Pascal also supports pointer types. Their main differences from C are: > (1) There is no "address-of" operator in Pascal; instead, > pointed-to variables (but not the pointers themselves) must be > dynamically allocated by "new". Actually, the majority of currently available Pascal compilers DO support this operator. It's often expressed as "@" and is syntactically equivalent to the "&" operator in C. And, since we're talking about Apple programming here, there's an alternative to use of the "New" procedure - you can use the system memory manager. In fact, I recommend that people NOT ever use the New/Dispose/Mark/Release suite; because there's a pretty large of hunk of library code that gets linked in to support them. Just stick with NewHandle and let the ROM do the work.... (This generalization valid for IIgs AND Mac programming.) Andy Stadler Apple Computer, Inc.