[comp.lang.pascal] turbo pascal mac DA help

spector@brillig.umd.edu (Lee Spector) (09/26/88)

I want to write a macintosh Desk Accessory in Turbo Pascal.
I don't want to do anything fancy; I just want selection of the
DA to create a scrolling window that acts like a terminal that
I can read and write to with normal pascal code.  Turbo comes with
an example "MyDA", but this does all sorts of things that I don't
care about (animation, new cursor ...) and the code is much too
mac-systemy for me to decipher.  I've tried to modify MyDA but
I get into trouble fast.  I'm an experienced pascal hacker, but
I'm totally new to programming the mac, and I'm not too eager
to get my hands dirty with all of the details.  Does anybody know
of (or could you send me) a "shell" for a DA that simply creates
a scrolling window and contains a spot where I can insert my code?
The only user interface I require is some equivalents to read, readln,
write, and writeln that act on the DA window as though it were the terminal
in a "normal" pascal program..  

  Many thanks in advance,   Lee Spector  (spector@brillig.umd.edu)