MacPascal and lining up comments

Info-Mac discussion from 1984 - 2002.
Locked
User avatar
Info-Mac
Administrator
Posts:13716
Joined:December 21st, 1988, 11:00 am
MacPascal and lining up comments

Post by Info-Mac » November 14th, 1984, 10:42 am

Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 UW 5/3/83; site uw-beaver
Path: utzoo!watmath!clyde!burl!ulysses!cbosgd!mhuxj!houxm!vax135!cornell!uw-beaver!info-mac
From: info-mac@uw-beaver (info-mac)
Newsgroups: fa.info-mac
Subject: MacPascal and lining up comments
Message-ID:
Date: Thu, 4-Oct-84 23:36:14 EDT
Article-I.D.: uw-beave.1855
Posted: Thu Oct 4 23:36:14 1984
Date-Received: Sat, 6-Oct-84 05:18:42 EDT
Sender: daemon@uw-beave
Organization: U of Washington Computer Science
Lines: 16

From: Michael Rubin
Use Resource Mover or the Font Editor to replace MacPascal's default font with
a monospaced font.... Yes, tab stops for comments and ability to specify an
alternate (presumably monospaced) font for quoted strings would be better, but
someone will have to write that.

BTW, the right way to get column headers to line up:

writeln("First":12, "Second":12, "Third":20);
writeln("Column":12, "Column":12, "Column":20);
...
writeln(this:12, that:12, other:20);

That makes it a lot easier if you want to change formats later; you might also
put the widths in CONST's.
-------
Locked