MPW Pascal {$...} directives

Anything not about Mac emulation.

Moderators: Cat_7, Ronald P. Regensburg

Post Reply
tcat
Inquisitive Elf
Posts: 37
Joined: Tue Aug 04, 2020 4:04 pm

MPW Pascal {$...} directives

Post by tcat »

Hi,

[off-topic] as nothing to do with emulation, but where else better to ask?

`MPW Pascal' was not much documented unlike `MPW C'
Looking for a pointer listing directives, working with examples,
and my own rusty vaguish memory..

+/- ON/OFF
{$D} MacBug symbols
{$R} Range checking
{$S name} Define Section
...

Tom
dadreamer
Inquisitive Elf
Posts: 34
Joined: Sun Jan 08, 2017 4:31 pm

Re: MPW Pascal {$...} directives

Post by dadreamer »

If you're looking for the list of all the directives available in MPW Pascal, it's worth checking Macintosh Programmer's Workshop book and especially chapter "7.5 Compiler Directives" on page 376. I would also recommend reading THINK Pascal User Manual (p. 203), because it contains some useful information on Pascal directives as well, even though it's about THINK Pascal and not MPW.
User avatar
adespoton
Forum All-Star
Posts: 4208
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: MPW Pascal {$...} directives

Post by adespoton »

I used to have the Turbo Pascal manual somewhere as well, and it has a useful appendix.
tcat
Inquisitive Elf
Posts: 37
Joined: Tue Aug 04, 2020 4:04 pm

Re: MPW Pascal {$...} directives

Post by tcat »

Hi,

Perfect, many thanks for the pointers. Meanwhile found `Programmers guide to MPW Vol. II'
has also references to MPW Pascal. I have this book in print!

Tom
Post Reply