|
|
Sample Programs from NeXSTEP 3.3
{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;\f3\fnil Times-Roman;\f2\fmodern Ohlfs;}
\paperw9840
\paperh8400
\margl120
\margr120
\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b\i0\ulnone\fs36\fc0\cf0 CalculatorLab
\b0\fs24 \
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\f3\b\fs28\fc0\cf0 by Randy Nelson\
\b0 \
A demonstration program that creates a simple framework for target/action and delegation/notification practice.\
\
This is Lab One of the Developer's Camp. The centerpiece is a somewhat general calculator object that uses the traditional rather than RPN interface.\
\
\b Classes\
\b0 SimpleCalc -- A general class that directly supports a calculator interface.\
\
\b History\
\b0 Created 8-8-90\
Modified 9-10-90 -- User interface, added separate nibs for Info and Help panels.\
Modified 10-15-90 -- New alloc and init logic added.\
\
\b Notes\
\b0 Key equivalents are somewhat user hazardous -- equals on the keypad is clear in the calculator; enter on the keypad is equals on the calculator.\
\
\b Future Directions\
\b0 In class, students will add memory functions as well as printing.
}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.