Oct 91 Letters
Volume Number: 7
Issue Number: 10
Column Tag: Letters
BAMADA Notes
By Kirk Chase, Editor
Missing Resource File
Kirk Chase
MacTutor
Due to a mix-up the ".r" file for Lincoln D. Stein's article "Multi-Window/Menu
DA" was missing. Here it is.
/* 1 */
/*
File Multi DA.r -- Rez compatible source
for the resources used by the example DA
Copyright 1989, Lincoln D. Stein
*/
#include "types.r
resource 'MENU' (-16000) {
0,
textMenuProc,
0x7FFFFFFD,
enabled,
apple,
{ /* array: 2 elements */
/* [1] */
"About MultiDA", noIcon, noKey, noMark, plain;
/* [2] */
"-", noIcon, noKey, noMark, plain
}
};
resource 'MENU' (-15999) {
0,
textMenuProc,
0x7FFFFFFB,
enabled,
"DA-File",
{ /* array: 4 elements */
/* [1] */
"New Window", noIcon, "N", noMark, plain;
/* [2] */
"Close", noIcon, "W", noMark, plain;
/* [3] */
"-", noIcon, noKey, noMark, plain;
/* [4] */
"Quit", noIcon, "Q", noMark, plain
}
};
resource 'MENU' (-15998) {
0,
textMenuProc,
0x7FFFFFFC,
enabled,
"DA-Edit",
{ /* array: 6 elements */
/* [1] */
"Undo", noIcon, "Z", noMark, plain;
/* [2] */
"-", noIcon, noKey, noMark, plain;
/* [3] */
"Cut", noIcon, "X", noMark, plain;
/* [4] */
"Copy", noIcon, "C", noMark, plain;
/* [5] */
"Paste", noIcon, "V", noMark, plain;
/* [6] */
"Clear", noIcon, noKey, noMark, plain
}
};
resource 'MENU' (-15997) {
0,
textMenuProc,
allEnabled,
enabled,
"DA-Windows",
{ /* array: 2 elements */
/* [1] */
"Clean Up", noIcon, noKey, noMark, plain;
/* [2] */
"Beep", noIcon, noKey, noMark, plain
}
};
resource 'DITL' (-16000, purgeable) {
{ /* array DITLarray: 4 elements */
/* [1] */
{96, 16, 120, 72},
Button {
enabled,
"New
};
/* [2] */
{96, 80, 120, 144},
Button {
enabled,
"Erase
};
/* [3] */
{32, 8, 88, 152},
EditText {
disabled,
};
/* [4] */
{7, 7, 23, 159},
StaticText {
disabled,
"Type some text here
}
}
};
resource 'DITL' (-15999, purgeable) {
{ /* array DITLarray: 2 elements */
/* [1] */
{81, 90, 101, 150},
Button {
enabled,
"OK
};
/* [2] */
{7, 14, 70, 237},
StaticText {
disabled,
"Written by Lincoln Stein in Think Pascal
"™ as an example program for MacTutor.
}
}
};
resource 'DLOG' (-16000, purgeable) {
{68, 176, 197, 336},
rDocProc,
invisible,
goAway,
0x0,
-16000,
"Multi DA
};
resource 'ALRT' (-16000, purgeable) {
{58, 122, 176, 370},
-15999,
{ /* array: 4 elements */
/* [1] */
OK, visible, silent;
/* [2] */
OK, visible, silent;
/* [3] */
OK, visible, silent;
/* [4] */
OK, visible, silent
}
};
June Bamada Notes
James Plamondon
Power Up Software
A capacity crowd of 85 turned out for the June meeting of the Bay Area MacApp
Developer’s Association (Bamada). All were eager to hear of the latest advances in
software development tools, and all got what they came for.
First, we were treated to a status report on MacApp 3.0 by Richard Rodseth of
the MacApp Team. He described the work that was being done with the streaming of
view resources, support for stationery documents, keyboard selection of views, and
UDialog; he also mentioned that the new MacApp debugger is nearly working. MacApp, it
is a-changin’!
Loïc Vandereyken of Acius then took the floor with a demonstration of Object
Master, his syntax-aware source code editor. It’s hard to describe Object Master; it is
so much more than an editor. For example, it can display a class tree of the classes in
the project, expanding or collapsing subtrees on demand, and showing various parts
(methods, data, what have you) of some or all of the various classes, on demand. This
view can be used to navigate through the source in an incredibly powerful manner. It
creates and uses 411 documentation with trivial ease. It supports Object Pascal, C++,
Modula, and Rez.
More than anything else, Object Master struck me as a tour de force in the use of
AppleEvents: it had excellent hooks to MPW, ResEdit, Jasik’s Incremental Build System
and Debugger, and (soon) AppMaker, for example. These AppleEvent connections allow
Object Master to concentrate on source code browsing and editing, while leaving the
related tasks of compilation, etc. to the tools that do them best. If you love the
integrated THINK environments, you owe it to yourself to look into using the suite of
products described above. It’s amazing.
The Object Master demo proceeded in near silence, punctuated only be the
occasional shocked gasp or awed expletive. The first question from the audience was
“When, and how much?” which seemed to sum up the audience’s reaction both concisely
and completely. Acius, in response to overwhelming demand for pre-release versions,
will be taking orders for beta versions by the middle of July. You can contact Acius at
10351 Bubb Road, Cupertino, CA 95014, (408) 252-4444 or fax (408)
252-0831, or via AppleLink at D4444.
Following the Object Master demo, Steve Jasik of Jasik Designs gave us a brief
summary of the MacHack conference’s best hacks. Of those few he had time to demo, the
group’s favorite was “99 Bottles of Beer,” which sang (in MacInTalk fashion) the
song, starting at a user-specified number. Not much, perhaps -- but darn funny,
when you start at 45 trillion, 375 million, 231 thousand and 96. Maybe you had to be
there.
Spec Bowers of Bowers Development was up next, with a demonstration of the
latest version of AppMaker. AppMaker is a fascinating development tool; it is both a
resource creator/editor and a source code generator. It supports not only the Mac and
MacApp, but also a variety of other platforms and systems, including XVT (a
non-object-oriented multi-platform application programming interface). AppMaker
is a system for producing professional, commercial applications -- it’s not just a
prototyper. But it still shines when used for prototyping: its use of direct manipulation
to modify visual elements is outstanding, for example. Its ability to generate the
source for a given prototype application can be used as in introduction to MacApp
programming. This is undoubtedly the fastest way to get into MacApp programming I’ve
ever seen.
AppMaker has some great tools for creating palettes, which can otherwise be a
rather cumbersome programming task. Its code generation is based on templates,
which can be modified by the user of AppMaker to ensure that the generated code
conforms to whatever style guidelines the user desires.
Mr. Bowers’ laid-back presentation style was enjoyable in itself. He was just
sitting back, having a good time, showing off his cool tool -- kinda like a jazz musician
lost in the rhythm. If you really want to get into the swing of MacApp programming,
look into AppMaker.
Security Policies
BASELINE Software
P.O. Box 1219
Sausalito, CA 94966
415-332-7763
BASELINE has come up with electronically published book called, Information
Security Policies Made Easy. And the title doesn't even begin tell of its usefulness.
There are over 400 security policies ready to be adapted. If you are a consultant,
software developer, or personnel manager, this product is a must. It has already
helped a number of companies with security policies. Get yourself protected.