Skip to main content
Home Documents Macintosh MPW 3.0 Reference Volume 1
MPW 3.0 Reference Volume 1

MPW 3.0 Reference Volume 1

Macintosh · 1988 · PDF
FilenameMPW_3.0_Reference_Volume_1_1988.pdf
Size29.53 MB
Year1988
Subsection developer / MPW
Downloads2
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
MPW 3.0 Reference Volume 1
/
Loading…
OCR / Text contents
ti® Macintosh® Macintosh Programmer's Workshop 3.0 Reference S APPLE COMPUI'ER, INC. 'J1ili manual and the software described in iI are copyrighted, with all righrs reserved. Under the copyright laws, this manual or the software may not be copied, in whole or part, without written consent of Apple, . except in the normal use of the software or to make a backup copy of the software. The same proprietary and copyright notices must be affixed to any permitted copies as were affixed to the original. 'J1ili exception does not allow copies to be made for others, whether or not sold, but all of the .material pwchased (with all backup copies) may be sold, given, or loaned to another person. Under the law, copying includes translating into another language or format. POSTSCRIPT is a trademark of Adobe Systems Incorporated. Linotronic is a registered trademark of Linotype company. Adobe Illustrator 88 is a trademark of Adobe Systems Incorporated. lmageStudio is a trademark of Esselte Pendaflex Corporation in the United States, of LetraSet Canada Limited in Canada, and of Esselte LetraSet limited elsewhere. Motorola is a trademark of Motorola, Inc. QMS is a registered trademark of QMS, Inc. You may use the software on any UNIX is a trademark of AT&T Bell Laboratories. computer owned by you, but extra copies cannot be made for this purpose. Simultaneously published in the United States and Canada. C 1985-88 Apple Computer, Inc. 20525 Mariani Ave. Cupertino, California 95014 (408) 996-1010 Pascal Compiler C 1982-88 Apple Computer, Inc. e 1981svs,1nc. Apple, the Apple logo, AppleShare, AppleTalk, A/UX, ImageWriier, LaserWriter, Lisa, MacApp, Macintosh, and SANE are registered trademarks of Apple Computer, Inc. MPW, QuickDraw, ResEdit, and SADE are trademarks of Apple Computer, Inc. MacDraw, MacPaint, and MacWriie are registered trademarks of Claris Corporation. Microsoft Wotd is a trademark of Microsoft Corporation. MPW sample programs Apple Computer, Inc. grantS users of the Macintosh Programmer's Workshop a royalty-free license to incorporate Macintosh Programmer's Workshop sample programs into their own programs, or to modify the sample programs for use in their own programs, provided such use is exclusively on Apple computers. For any modified Macintosh Programmer's Workshop sample program, you may add your own copyright notice alongside the Apple copyright notice. Contents Figures and tables xxvii Part I Shell Reference 1 Introduction: The New and the Nec5ary 3 Power tools for Macintosh programmers 5 What's new in MPW 3.0 7 MPWC++ 7 Projector 8 Symbolic Application Debugging Environment (SADE) 8 New or enhanced tools 8 New or enhanced Shell commands 10 New Shell editor capabilities 12 New standard Shell variables 13 Changes to menus and dialogs 14 Miscellaneous Shell changes 14 Numeric libraries 15 MPW Cand MPW C++ Include files 16 MPW Pascal 16 MPW tool libraries 17 What you'll need 17 Hardware and system requirements 17 . System Folder r…

Showing first 3,000 characters of 500,000 total. Open the full document →

Home Documents Macintosh Powerbook 100 Developers Note
Powerbook 100 Developers Note

Powerbook 100 Developers Note

Macintosh · 1991 · PDF
FilenamePowerbook_100_Developers_Note_1991.pdf
Size0.29 MB
Year1991
Subsection powerbook / 100
Downloads3
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
Powerbook 100 Developers Note
/
Loading…
OCR / Text contents
® Macintosh PowerBook 100 Developer Note ® Developer Note Developer Technical Publications © Apple Computer, Inc. 1991 APPLE C OMPUTER , I NC. © 1991, Apple Computer, Inc. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, mechanical, electronic, photocopying, recording, or otherwise, without prior written permission of Apple Computer, Inc. Printed in the United States of America. The Apple logo is a registered trademark of Apple Computer, Inc. Use of the “keyboard” Apple logo (Option-Shift-K) for commercial purposes without the prior written consent of Apple may constitute trademark infringement and unfair competition in violation of federal and state laws. Apple Computer, Inc. 20525 Mariani Avenue Cupertino, CA 95014-6299 408-996-1010 Apple, the Apple logo, APDA, AppleLink, AppleTalk, LaserWriter, and Macintosh are trademarks of Apple Computer, Inc., registered in the United States and other countries. Apple Desktop Bus, Balloon Help, PowerBook, and SuperDrive are trademarks of Apple Computer, Inc. Adobe Illustrator and PostScript are registered trademarks of Adobe Systems Incorporated. ITC Garamond and ITC Zapf Dingbats are registered trademarks of International Typeface Corporation. MacDraw is a registered trademark of Claris Corporation. Microsoft is a registered trademark of Microsoft Corporation. Sony is a trademark of Sony Corporation. LIMITED WARRANTY ON M EDIA AND REPLACEMENT If you discover physical defects in the manual or in the media on which a software product is distributed, APDA will replace the media or manual at no charge to you provided you return the item to be replaced with proof of purchase to APDA. ALL IMPLIED WARRANTIES ON THIS MANUAL, INCLUDING IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ARE LIMITED IN DURATION TO NINETY (90) DAYS FROM THE DATE OF THE ORIGINAL RETAIL PURCHASE OF THIS PRODUCT. Even though Apple has reviewed this manual, APPLE MAKES NO WARRANTY OR REPRESENTATION, EITHER EXPRESS OR IMPLIED, WITH RESPECT TO THIS MANUAL, ITS QUALITY, ACCURACY, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. AS A RESULT, THIS MANUAL IS SOLD “AS IS,” AND YOU, THE PURCHASER, ARE ASSUMING THE ENTIRE RISK AS TO ITS QUALITY AND ACCURACY. IN NO EVENT WILL APPLE BE LIABLE FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES RESULTING FROM ANY DEFECT OR INACCURACY IN THIS MANUAL, even if advised of the possibility of such damages. THE WARRANTY AND REMEDIES SET FORTH ABOVE ARE EXCLUSIVE AND IN LIEU OF ALL OTHERS, ORAL OR WRITTEN, EXPRESS OR IMPLIED. No Apple dealer, agent, or employee is authorized to make any modification, extension, or addition to this warranty. Some states do not allow the exclusion or limitation of implied warranties or liability for incidental or consequential damages, so the above limitation or exclusion may not apply to you. This warranty gives you specific legal…

Showing first 3,000 characters of 56,784 total. Open the full document →

Home Documents Macintosh MacApp 2.0 Object And Method Reference
MacApp 2.0 Object And Method Reference

MacApp 2.0 Object And Method Reference

Macintosh · PDF
FilenameMacApp_2.0_Object_and_Method_Reference_19881003.pdf
Size3.02 MB
Subsection developer / MacApp_2.0
Downloads2
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
MacApp 2.0 Object And Method Reference
/
Loading…
OCR / Text contents
MacApp 2.0 Object and Method Reference This chapter describes the object classes that existed in MacApp 1.1. If you need infonnation on classes and methods not described here. refer to other release notes and to the source code. Each object description in this chapter contains the following elements: • whether you customize the object type. instantiate it. or call its methods • notes about the object type • the chain of ancestors leading to the object type • field declarations and explanations • descriptions of the methods for each object type Important Complete Information about the Implementation of each method Is not given In this chapter. If you need further details ab6ut any method. refer to the MacApp source code. TObject Customize: usually Instantiate: never Call methods: usually TObject is the ultimate ancestor for all objects in MacApp. TObject is documented here primarily for background information. It is an abstract object type that exists so that other object types can inherit characteristics from it, and thus share them. The only TObject methods you might override are Free and Clone. Ancestors: none Fields none MacApp 2.0 Globals 10/3/88 Page 1 Clone FUNCTION TObject .Clone: TObject; The retum value An exact copy of the calling object Purpose To clone dependent objects referred to by the fields of an object as well as cloning the object i~lf. An object is dependent on another object when the second object has the only (or the only important) reference to the first object Dependency is a relatively vague condition; when you override this method, you need to detennine what objects are dependent on SELF. The default version Calls ShallowClone, and thus clones only the object i~lf Override Sometimes Call Sometimes Free PROCEDURE TOb ject:. Free; Purpose To free the calling object and any dependent objects referred to by its fields. An· object is dependent on another object when the second object has the only (or the only important) reference to the first object Dependency is a relatively vague condition; when you override this method, you need to determine what objects are dependent on SELF. Th• default version Calls ShallowFree Override Often. Your version should free any dependent objects you have added for your customization and then call INHERITED Free so that any ancestor methods can free other dependent objects. The chain of INHERI1ED calls leads to TObject.Free, which calls TObjecLShallowFree, which frees SELF. Call Often ShallowClone FUNCTION TObject. ShalloWClone: TObject; The retum value Purpose This is the lowest-level method for copying an object Called by TObject.Oone The default version Calls HandToHand, an Inside Macintosh routine, to copy the object data Override Never Call Rarely MocApp 2.0 Globals 10/3/88 Page 2 Shallow Free PROCEDURE TObject.ShallowFxee; Purpose This is the lowest-level method for freeing an objecL Called by TObjecLFree The default version Frees t…

Showing first 3,000 characters of 78,310 total. Open the full document →

Home Documents Lisa Pascal Language Vol 1
Pascal Language Vol 1

Pascal Language Vol 1

Lisa · 1983 · PDF
FilenamePascal_Language_Vol_1_1983.pdf
Size14.48 MB
Year1983
Subsection workshop_1.0
Downloads2
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
Pascal Language Vol 1
/
Loading…
OCR / Text contents
Pascal Language ParI 1 of 3 A6L0111 Pascal Reference Manual for the Lisa 1M 029-0391-A Licensing Requirements for Software Developers ~le has a low-cost licensing program, which permits developers of software for the Lisa to incorporate Apple-developed libraries and object code files into their products. Both in-house and external distribution require a license. Before distributing any products that incorporate Apple software, please contact Software Licensing at the address· below for both licensing and technical information. ~1983 by Apple Computer, Inc. 20525 MarIani Avenue CUpertino, California 95014 (408) 996-1010 ~ple, Lisa, and the Apple logo are trademarks of Apple Computer, Inc. Simultaneously published in the USA and Canada Reorder Apple Product #A6D0101 (Complete Pascal package) 4~A6L0111 (Manuals only) OJstomer Satisfactim If you discover physical defects in the manuals distributed with a lisa product or in the media on which a software product is distributed, Apple will replace the documentation or media at no charge to you during the 90-day period after you purchased the product. Prod..I:!t Revisions Unless you have purchased the product update service available through your authorized Lisa dealer, Apple cannot guarantee that you will receive notice of a revision to the software described in this manual, even if you have returned a registration card received with the product You should check periodically with your authorized lisa dealer. LimitaUm m WamJlties and Liability All implied warranties concerning this manual and media, including implied warranties of merchantability and fitness for a particular purpose, are limited in duration to ninety (90) days from the date of original retail purchase of this product. Even though Apple has tested the software described in this manual and reviewed its contents, neither Apple nor its software suppliers make any warranty or representation, either express or implied, with respect to this manual or to the software described in this manual, their quality, performance, merchantability, or fitness for any particular purpose. Pos a result, this software and manual are sold "as is," and you the purchaser are assuming the entire risk as to their quality and performance. In no event will Apple or its software suppliers be liable for direct, indirect, special, incidental, or consequential damages resulting from any defect in the software or manual, even if they have been advised of the possibility of such damages. In particular, they shall have no liability for any programs or data stored in or used with Apple products, including the costs of recovering or reproducing these programs or data. The warranty and remedIes set forth above are exclusIve and In l1eu of all others, oral or written, express or implied. No Apple dealer, agent or employee is authorized to make any modification" extension or addition to this warranty_ Some states do not allow the exclusion or limitation of implied …

Showing first 3,000 characters of 500,000 total. Open the full document →

Home Documents Lisa Malloy UnitHz Specification The Standard Storage Manager
Malloy UnitHz Specification The Standard Storage Manager

Malloy UnitHz Specification The Standard Storage Manager

Lisa · PDF
FilenameMalloy_-_UnitHz_Specification_The_Standard_Storage_Manager_19830311.pdf
Size1.55 MB
Subsection development_history / memos
Downloads2
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
Malloy UnitHz Specification The Standard Storage Manager
/
Loading…
OCR / Text contents
~10...---ch U'nit1lz Specificatio.n - Page l u, , q 93 r. M~llo~ 6pecif icat:1on .for UnitRz ... The Standard Stot:age 'Manager Overview UnitBz p?,"ovides a client: with routines .to manage a piece of contiguous mem.ory,. called a heap zotie (hz).. ·rn the case of 'Lisa, :this is usually but not necessarily an MMU segment .. UnitB.z will mall&ge an arbitra.ry number Qf such zones-.. The zone. is: made up of a zone beader (aMJ followed by au arbittary number .Qf storage blocks (a:bk). The zone may be arbitrar.ily large. A storage block consists Qf a: header followed by usable memory. Blacks are ;t1ways of even: length within a specif.fed min.am and maximunt. The curren"t minim.um ts 12 bytelh the length ()f a m.±nimum f.ree block. This could be reduced to 4 bytes if desired by re¢oding portions of Unitiz. 'the aaxim\1111 size of an allocated block i:s currently J2K bytes. This could be increased to 65K bytes with mi.nor enhancements or to 231 bf ma.king the appropriate quaittitie.s a full 32 bits" There al:'e four types of storage. blocltih. relocatable and nam.ed. They are free, non-relocatahtet Free blocks are used by the implementation and not '1'isible to the c1ient. They are kep:t: on a doubly ibked list through fields in tbe free ·1110.ck header.. Free blocks maf be as large the entire. zone. Non.. relocatable blocks behave like objects. allocated on a Paeca.l he•P with NEW and DISPQS:X,. The user references a non-relocatable block through a pointet: to the first data byte~ · Relocatable blocks, as . the name suggests;, lil.ll.Y •be moved aroun.d in mem.ory (relocated)- when necessary. There are two prineipal advantages to using relocatabl.e blocks rather than non•relocatable bloclts. First, relocatable blocks can change size dynamieally. Second,. better utilization of available memory is possible vitb a zone of reloca.table blocks than non-relocatable bloclti!J because the storage m.anager 1 ~hen unable to find a free bll)ck l.ar.ge enough to satisfy an allocation request will move bl.oeks around t.o create a large enough free block. ln order to achieve this relGeatablility the user ref et:ences a relocatable bloek tb:tough a l'landle (h) which is a pointer to the pointer tc the first data byte. There is precisely one pointer to. the actu.al data, called t,he 111.aster pointer.. The handle points to it.. The storage manager remembers its location ~nd U.pdates it whenever the block is :teloeated. Thi.s uniqul!! po:Lni:er. is normally located in an array o~ po.inters at the end ol the zone header but the user may specify, at Z«>ne irtiti&lfaation the, precisely one <>tber block of menipry in wh:tch he wishes to alloea;te these ~aster po.inters. This atea is <• 32K bytes long.. .A pointe'l', once allocated in this area, l'IPlSt never move; so a maste; pointer cannot be allocated inside another ,relocatable object. The Wo;d Processor uses the Pascal sysglobal area to store master pointers. (Figure l) Named objects ptovid:e the user a m…

Showing first 3,000 characters of 24,424 total. Open the full document →

Home Documents Macintosh MacApp 2.0b5
MacApp 2.0b5

MacApp 2.0b5

Macintosh · PDF
FilenameMacApp_2.0b5_19880803.pdf
Size1.40 MB
Subsection developer / MacApp_2.0
Downloads2
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
MacApp 2.0b5
/
Loading…
OCR / Text contents
MacApp® 2.0bS August 3, l988 ,:!~t ·,: -,;h Welcome to MacApp2.0b5. Much work has gone into M~App siliee,.'\'ersion 1; 1.1 anci S4m,\C pans of MacApp 2.0 differ significandy-from its predeoessor, rcleue ~ dMs ~ Chanses in MacApp. ., .... n. **' .J ... .'- .:. :, ·- The software in this package is considered beta.qutlliq..·- k i,. bo.wJl .,., anct•·~.apcnof MacApp will find even me»e lMlgs. While we are not iw•dns )'OU·ftOlll~ producu blsecl~ .dtis release ot MacApp, please lar?in mind that you do so# your own risk, widJ tho·f¥'~;-,,_,ieJta.se of MacApp is not considered production qualq. We WOQJ8P )'OU ID JepbtttfflP in'·~.sot~a10.or documentation, as well as suggesting im~ts.by uinf she MlieAppe Bug·~ rQrl'ft included in this package. · . ... · ) '·'''·':·· ;:,i..:.t' This release of Mll:App is designed to.wort asis.wilhMPW'l.0.2~ It is~. •~dild~bi·· with the upcoming release of MPW 3.0 with ~:change. ~Jbe MacApp<9 2~0b5· ~ure ~for more about using MPW 3.0. And please -note that a dle lme of this .Wl'iQng MP\\'..·~~P js s~ginj. so we cannot absolutely guarantee compafibility widubc MPW 3.0 ~~- evettluiJ.lt islmW :available from·· ,. APDA. ,', . . '..~: .,! -· : . , '· , At this time the MacApp 2.0 Manualhas not been completed. Even "'"1t ~~ . • ~the MacApp® 2.x Manu,al (interim vas,ipn) Jhere are major portions of MaeApp_~-~ ~ However, most of thit;differencedie.lween 1.x and 2.0•doeummfeciht.thestl~ ~( This package contains the followjnJ..1»cumenlS:. • "': ': ·-": :· . , _. ,, .. :-r., ~~ . ·; .; :.~. :". : ~' ·,~'.~ ,;,:. . An important' letter rrom- .6.-p9Je!1 Softnre-.t,.,ieeasia1 Departilt'eat reprdjng distribution of MacApp ai4~licationsbuilt. widliL- • • MacApp® BUI Report Form, which contains the infOrmadon necessary to report IPY softw.are or docwnentation-. bugs yqulay_encoun= in Mac.App. · MacApp® 2.0bf'·'Knoa-Bugs.and f'f.obtems,-whiclfdesciribes 'die'tnown bugs and problems in this .tease of~.· • MacApp® 2.0bS Delta List,-whiclJ.~dta:rlbes the ~-between 1his ~ and MacApp 2.0b2. r-, '~" • MacApp® 2.0b5 Feature 0¥.-Wt:~;descritfe$:ibe major new.featuros of MacApp 2.0• • MacApp® 2.0b5 View Architecture Release~N~~ll,doc\PnenlS t1le MacApp: 2.0 view classes. • MacApp® 2.0b5 Ut'EVl«!tt: Re-. ~~·~~Jt~bM:•.~~ ()f rpe UTEView llllit and the Tl'EView.~· . -. . . -· .. • MacApp® 2.0b5 UDiatoa..,Retuse N~es. which describes the contelJlS of the UDialQ& unit and the various view cluscs conrained ~. · • MacApp® 2.0bS UGridView Release Notn. whidl describes the conteJll$ of the UGridView unit and its cJasses. · - • MacApp® 2.0b5 Printing1~ase Notes, which descnleS how printingw~in MacApp. MacApp® 2.0 Memory Management. which discusses memory management in MacApp. · Mac,ARP~ 2:0 Glooali.'· ;whleh describes global constants, variables, data types, and routines in • ~App. !.·(-, M~ci\<pp41F2:0 Obj~~'t dn·d· Method Reference, which discusses object classes that also .• existed in MacAou 1.1. To use,'"MacAw"w…

Showing first 3,000 characters of 33,069 total. Open the full document →

Home Documents Macintosh PowerBook 100 Service Source
PowerBook 100 Service Source

PowerBook 100 Service Source

Macintosh · PDF
FilenamePowerBook_100_Service_Source.pdf
Size0.88 MB
Subsection powerbook / 100
Downloads3
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
PowerBook 100 Service Source
/
Loading…
OCR / Text contents
K Service Source PowerBook 100 K Service Source Specifications PowerBook 100 Specifications Processor - 1 Processor CPU Addressing Motorola 68HC000, 16-bit CMOS microprocessor 15.6672 MHz 32-bit internal registers 24-bit address bus 16-bit data bus Specifications Memory - 2 Memory RAM 2 MB of 100 ns pseudostatic RAM (PSRAM) standard, expandable to 8 MB ROM 256K (two 128K by 8-bit devices); 150 ns access time; addressing supports up to 4 MB PRAM 128 bytes of parameter memory VRAM 32K of pseudostatic video display memory Clock/Calendar CMOS custom chip with long-life lithium battery Specifications Disk Storage - 3 Disk Storage Floppy Drive (Optional) 20 MB Hard Drive 40 MB Hard Drive External Macintosh HDI-20 1.4 MB drive 4.5 W startup power; 1.25 W random operation; 50 mW idle 20 MB formatted capacity Apple SCSI interface; 2.5 in. mechanism 23 msec average access time (maximum) 5.0 W startup power; 2.7 W random operation 40 MB formatted capacity Apple SCSI interface; 2.5 in. mechanism <19 msec average access time (maximum) 5.0 W startup power; 2.25–2.5 W random operation; 1.3–1.5 W idle Specifications I/O Interfaces - 4 I/O Interfaces Floppy Drive One HDI-20 floppy drive port for external 1.4 MB drive SCSI One HDI-30 SCSI port; 1.5 MB/sec. transfer rate Supports five devices maximum Apple Desktop Bus One Apple Desktop Bus (ADB) port; low-speed serial interface Serial Two RS-422 ports, one external and one internal 230.4 Kbaud minimum Asynchronous, synchronous, and AppleTalk protocols supported Internal connector supports Macintosh PowerBook Fax/Data modem Specifications Sound I/O Interfaces - 5 One sound output port for external audio amplifier Specifications I/O Devices - 6 I/O Devices Keyboard Built-in keyboard; ADB interface Dimensions: 10.6 in. length, 3.5 in. width, .5 in. depth Pitch: .73 in. horizontal; .71 in. vertical Trackball Dual-button trackball; 25 mm diameter; ADB interface Mouse (Optional) Low-power mouse; ADB interface Floppy Drive (Optional) External Macintosh HDI-20 1.4 MB floppy drive Specifications Sound and Video - 7 Sound and Video Sound Video Display Apple Sound Chip; one- or four-voice mono (one or two voices in stereo) with 4-bit digital-to-analog conversion using 22-kHz sampling rate 9 in. (229 mm) diagonal screen Film-compensated Super Twist Nematic (FSTN), backlit flatpanel display 640 by 400 pixels; 75 dpi Specifications Electrical - 8 Electrical Main Battery Backup Batteries Sealed lead-acid battery (7 V) 2.5 hrs. maximum capacity Three 3.5 V lithium cells Industry-standard CR-2430 batteries 110–220 V Frequency 50–60 Hz ADB Power Requirements Maximum current draw for all ADB devices is 50 mA (maximum of three ADB devices recommended) Specifications Power Adapter Sound Electrical - 9 Input voltage: 85–270 VAC (100/240 nominal); 48–62 Hz (50/ 60 nominal) Output voltage: 7.0–7.6 V (7.5 nominal); 5 mA–2 A (1.5 nominal) One sound output port for e…

Showing first 3,000 characters of 39,229 total. Open the full document →

Home Documents Lisa Pascal Reference Manual
Pascal Reference Manual

Pascal Reference Manual

Lisa · 1983 · PDF
FilenamePascal_Reference_Manual_1983.pdf
Size12.44 MB
Year1983
Subsection workshop_2.0
Downloads2
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
Pascal Reference Manual
/
Loading…
OCR / Text contents
Lisa Pascal 2.0 .Languages windlMllcorcl • A!COAD port: wil'lCllMl.ind: visiDII: nil i tiel: orafPOrt; IHT!G!R; IIOOLLIIN; IIOOLLIIN; ~IIQ: IIOOLLIIN; 5PII'I"IIQ : IIOOLLIIN; I tl'IlCA!JI : I9'fWlCIII; contf9l: I9'fWlCIII; I4*tIRIJl: I9'fWlCIII; windOloOefPrDo: HIndle; Clatlltlndll: ~AT SystemTask; TEldle( hTE); temp :. GetNextEvent(everyEvent,myEvent); CASE myEvent.what OF mouseOown: EEGIN code :. FindWindow(myEvent.where,whichWindow); CASE code OF Pascal Reference Manual for the Lisa 1M 029-0)91-A Licensing R8(JJiremenu for Software Devel~n Apple has a low-cost licensing program, which permits developers of software for the Lisa to incorporate Apple-developed libraries and object code files into their products. Both in-house and external distribution require a license. Before distributing any products that incorporate Apple software, please contact Software Licensing at the address below for both licensing and technical information. 01983 by PiJple Computer, Inc. 20525 MarianI Avenue CUpertino, California 95014 (408) 996-1010 Apple, Lisa, and the Apple logo are trademarks of Apple Computer, Inc. Simultaneously published in the USA and Canada Reorder .AWle Product #f\600101 (Complete Pascal package) #A6LOlll (Manuals only) CUstooler Satisf~tioo If you discover physical defects in the manuals distributed ",ith a Lisa product or in the media on which a software product is distributed, ~ple will replace the documentation or media at no charge to you during the 90-day period after you purchased the product. Procl.ct Revisions Unless you have purchased the product update service available through your authorized Lisa dealer, Apple cannot guarantee that you will receive notice of a revision to the software described in this manual, even if you have returned a registration card received with the product. You should check periodically ",ith your authorized Lisa dealer. Limitatloo on Wanmties and Liability All implied warranties concerning this manual and media, including implied warranties of merchantability and fitness for a particular purpose, are limited in duration to ninety (90) days from the date of original retan purchase of this product Even though Apple has tested the software described in this manual and reviewed its contents, neither Apple nor its software suppliers make any warranty or representation, either express or implied, with respect to this manual or to the software described in this manual, their quality, performance, merchantability, or fitness for any particular purpose. fl.s a result, this software and manual are sold "as is," and you the purchaser are assuming the entire risk as to their quality and performance. In no event will Apple or its software suppliers be liable for direct, indirect, special, incidental, or consequential damages resul ting from any defect in the software or manual, even if they have been advised of the pOSSibility of such damages. In particular, they shall have no liability for any pro…

Showing first 3,000 characters of 500,000 total. Open the full document →

Home Documents Macintosh MacApp Cookbook Draft 1
MacApp Cookbook Draft 1

MacApp Cookbook Draft 1

Macintosh · PDF
FilenameMacApp_Cookbook_draft_1_19890126.pdf
Size14.96 MB
Subsection developer / MacApp_2.0
Downloads2
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
MacApp Cookbook Draft 1
/
Loading…
OCR / Text contents
( ti Macintosh® MacApp Cookbook Apple Programmer's and Developer's Association 1/26189 Draft 1 MacApp Cookbook Contents Figures and tables ii Preface About the Cookbook 1 About this book 1 Other materials you'll need 1 How to use this book 2 What it contains 2 Visual cues 2 Roadmap to the MacApp documentation suite 3 Chapter 1 Introduction to the Cookbook 5 A MacApp translation guide 5 Chapter 2 The Apple Menu 6 2.1 Creating an "About Your Application" entry 2.2 Creating a separate "About ..." resource 6 2.3 Animating the "About ... " entry 6 6 Chapter 3 AppleTalk, Multiuser, and Network Considerations Using IO completion routines 8 Leaving files open for other users Chapter 4 Applications 7 8 9 3.1 Creating objects: an overview 3.2 Creating an application 10 9 i Draft 1 MacApp Cookbook 1/26189 Step 1 Initializing the Toolbox 11 Step 2 Initializing printing 12 Step 3 Assigning the application signature and the main file type 13 Step 4 Declaring a subclass of !Application 13 Step 5 Defining your application initialization method 14 Step 6 Instantiating your application class 14 Step 7 Calling your initialization method 15 Step 8 Calling the Run method 15 Continuing from here 15 3.3 Opening an application without opening a document 16 Chapter 5 Browser 17 Chapter 6 The Clipboard and Cut, Copy, and Paste 19 Creating a Clipboard view 20 Run-time summary of creating a clipboard view 20 Overview of your responsibilities 21 Step 1 Define a handle type 21 Step 2 Define a resource type 22 Step 3. Override MakeViewForAlienClipboard 22 Step 4. Override methods for your Clipboard view type 23 Step 5. Override the ContainsClipType method 23 Step 6. Override the GivePasteData method 23 Step 7. Override 'IView.WriteToDeskScrap for your Clipboard view Step 8. Create a Clipboard document, if desired 25 Step 9. Add a Show Clipboard menu item to your resource file 25 Continuing from here 27 Supporting Cut and Copy commands 28 Supporting the Paste command 29 Step 1 Call the global procedure CanPaste 29 Step 2 Define and create a paste command object 29 Step 3 Retrieve the data to be pasted 30 Continuing from here 30 Supporting a private scrap type 31 ii MACAPP COOKBOOK 25 MacAppCookbook 1/26189 Draft 1 ( Chapter 7 Collections Chapter 8 Color 33 35 Chapter 9 Compatibility 37 Checking system software 38 Checking hardware 38 Future compatibility rules 38 Converting from MacApp 1.1 to MacApp 2.0 Unit dependencies 40 Debugging 40 Document changes 41 View changes 42 Windows 43 Your views 43 TEViews and Dialog Boxes 44 Command objects 44 !Command 44 Tracking methods 44 Editing commands 45 ( Chapter 10 Controls and Control Views Chapter 11 Cursors Chapter 12 38 47 49 Changing the Cursor Shape Cursor region 50 50 Debugging in MacApp 51 Writing a Fields Method 52 Step 1 Declare a Fields method for your document class 52 Step 2 Define the Fields method 52 CONTENTS ill Draft 1 Mac.App Cookbook Step 3 Step 4 Call Inh…

Showing first 3,000 characters of 375,333 total. Open the full document →

Home Documents Macintosh YMaxBug
YMaxBug

YMaxBug

Macintosh · PDF
FilenameyMaxBug.pdf
Size0.15 MB
Subsection prototypes / 1985_YACC / firmware / yaccsbug
Downloads5
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
YMaxBug
/
Loading…
OCR / Text contents
2/11/85 ·---------------------------------------------------------------------- . NOT Ofi ;] .EQU onL i si:::iTrue .EQU 0 Ci-t!! MOT on G L i s;:l 1_.1r1der t·lacJJorks \-'es.= on l::f '.bJcc \/Gee i s (=i 680 10 ... L-;;-::_; .EQU .EQU GPort 0 use A Port for terminal stoc~pSc:reen .EQU U.! ~ thD ~ s ~EQU set set fu f IS j zed .EQU .EQU .EQU nt.anber· o T ~ ~ nes .EQU number of lines to IL (default) heGpPrint dLines DDBG .EQU 0 i f screen s1.1.iGp to d i sp i GiJ NOT debu!;iz~ i n9 the debu1;J1~er· DONT shotu trGp r1Gmes .PHOC .NOL~ST iNCLUDE mGc/'t... i 1:=1sm-GrofEQU. TEXT iNCLUDE mac/tlasm-Too!EQU.TEXT mGc/tlGsm-HeGpDefs.TEXT mc.tc: l. t i osm-s1:Jsm;:.1c:s . TE):~T INCLUDE iNCLUDE .ELSE iNCLUDE tlasm-GrafEQU.TEXT ~NC:LUDE t~Gsm-TooiEQU.TEXT INCLUDE t i 1:lsm-He::::pDe f s . TEXT t ~ a:=:m-s1Jsmacs . TE)::T iNC:LUDE bENDC .Li ST iNCLUDE iNCLUDE dbg-rom4EQU.TEXT dbg- i ri i t . TEXT dbg-cmds.TEXT ~NCLUDE dtu~- ~ o . TE::(T equates/global defs basic debuqqer. init more c:ommcinds rs232/d i sp ! 1Ji:J sh~f f INCLUDE dbg-c~ tr:::ip . TE)::T ;~trap INCLUDE INCLUDE dbg-he:Jp. TEX~T dt:u;i-dm . te::,.:: t hea~p ~NCLUDE st.tiff s tt.i ff memor1::1 d i sp ~ Gi;:! code ~NCLUDE iF iNCLUDE symbols code/table .ENDC: i.sJi thDis ~NCLUDE .ENDC d ! :=:ctssemb I er 2 lF Tnames !MCLUDE dbg-trapname5.t~xt .END t~.om :Added '! = CJrt:.i::lC:C: .EQU .EQU .EQU .-.:_1 on68000 . t:.L!U 0 no Term . c.=-~u: onia/:Je:c Trt-ie i ,.'"')t...• .._., i.:.:..t··•• i nes uJ i th disassembier for :.:: 40 This or1CaBOOO' ont·hicTr·t4e' ~ oriL i sciTr·ue = ,.; Gnd Tr··ue = equ::::I tes for r./ACC and cd:uJiv=e :r NOT or·1 (:f t·iar.: i ntosh MOT on G L ! s;:~ (Mete: :::::L ) t~nch2r UGc~·~or~=~s 0 r-r.d' ::~Pc:r·t.. ~EQU stuapScreen uJ i thD is .EQU .EQU .EQU h~GpPr~nt .EQU dL ~ t-feS t·ium ~ L .EQU .EQU use A Port for terminal set i f screen st~Jap set if di s1::issemb i er f u i ~ c:omm:And set 40 DDBG nt~mber of numt=er-~ of .. : .; : •. !..OeTi:.".lU l T_} ~ MO.: r!O t debt~!;l1;l ! ni;l tne debU!;l:~er shouJ trGp n(Ames 0 Tnc.!mes .PHOC .t·iOLiST !F :_!f ~NCLUOE ffK~c: l t.. i i:ism-S\.!::;EQU . TEXT iNCLUDE mi~c: / t ~ :Jsm-GrG fEQU . TEXT m=Jc: / t ~ Gsm-Too ! EQU . TE::(T mc~c / t i Gsm-HeGpDe f s . TE)::T mGc: ,l t i Gsm-s1:Jsm::~c:s . TE:::::T -.- .. t.o!- - T .. -· · - ~NCLUDE INCLUDE INCLUDE u ~;_.n..: i r ·:_-1t: .ENDC ~NCLUDE t ! ==~sm-S\-=sEQU . TE:::::T ! t i (ls:m-Gr!::l f EQU ~ TE):~T tlasm-TooiEQU.TEXT t I iJsm-HeGpDe f s . TE)::T t ~ 1:lsm-s1:Jsma:.ic:s . TE>::T :.. : . -.. :.: : !!"-.. :"""'- i ril...LUUt. iNCLUDE ~MCLUOE iNCLUDE . ENDC JC !l INCLUDE iNCLUDE iNCLUDE on\.ti::;cc: True t I c1sm-s=·lSEQU. TEXT t i (lsm-Grc~ fEQU . TE)::T t_ l i:.'.ism- Too i EQU . TEXT !MCLUDE tiasm-HeapDefs~TEXT ~NCLUDE t i Gsm-si.Jsmc1c:s . TE:KT .ENDC : :,.-.. .Lf:: i ~ 1 dbs~-r~:!m4EQU ~ TE)::T db9- i n i t. . TE)::T eqt~(~ tes i~ !~…

Showing first 3,000 characters of 3,580 total. Open the full document →

Subscribe to PDF
mp.ls