home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / Modula / Source / MacConstants.DEF < prev    next >
Text File  |  1988-01-24  |  16KB  |  752 lines

  1. DEFINITION MODULE MacConstants;
  2. (* C. Pfister 3-Jan-87
  3.  
  4.    All pascal constants of 'Inside Macintosh' are declared in this module.
  5.    A few useful constants have been added (e.g. 'inFront'),
  6.    they are marked with the following comment: (* new *).
  7.    Several constants concerning the 128K ROMs have been appended at the end.
  8.    The constants are sorted like in the summary of 'Inside Macintosh',
  9.    i.e. all constants of one module together, the modules sorted alphabetically;
  10.    with the exception of the error / result codes, which are at the beginning.
  11.    If a constant occurs several times, it is declared only once.
  12.    Several constants denoting masks are defined not as integers (like in Inside
  13.    Macintosh) but as bitsets, i.e. as masks (e.g. {0..3}) or as bit indices.
  14.    Such constants are marked with the comment (* BITSET *).
  15.    They can be added (set union), tested (IF cmdKey IN event.modifiers ...), etc. 
  16. *)
  17.  
  18.  
  19. FROM MacTypes IMPORT WindowPtr;
  20. FROM SYSTEM   IMPORT VAL;
  21.  
  22.  
  23. CONST
  24.  
  25.  
  26.   (* Result Codes *)
  27.  
  28.  
  29.   noErr         =        0;
  30.  
  31.  
  32.    (* OSEventManager Error *)
  33.  
  34.   evtNotEnb     =        1;
  35.  
  36.  
  37.    (* PrintingManager Errors *)
  38.  
  39.   iPrAbort      =      128;
  40.   iPrSavPFil    =       -1;
  41.  
  42.  
  43.    (* PBManager Errors (queuing) *)
  44.  
  45.   qErr          =       -1;
  46.   vTypErr       =       -2;
  47.  
  48.  
  49.    (* DeviceManager Errors *)
  50.  
  51.   controlErr    =      -17;
  52.   statusErr     =      -18;
  53.   readErr       =      -19;
  54.   writErr       =      -20;
  55.   badUnitErr    =      -21;
  56.   unitEmptyErr  =      -22;
  57.   openErr       =      -23;
  58.   dRemovErr     =      -25;
  59.   dInstErr      =      -26;
  60.   abortErr      =      -27;
  61.   notOpenErr    =      -28;
  62.  
  63.  
  64.    (* FileManager Errors *)
  65.  
  66.   dirFulErr     =      -33;
  67.   dskFulErr     =      -34;
  68.   nsvErr        =      -35;
  69.   ioErr         =      -36;
  70.   bdNamErr      =      -37;
  71.   fnOpnErr      =      -38;
  72.   eofErr        =      -39;
  73.   posErr        =      -40;
  74.   mFulErr       =      -41;
  75.   tmfoErr       =      -42;
  76.   fnfErr        =      -43;
  77.   wPrErr        =      -44;
  78.   fLckdErr      =      -45;
  79.   vLckdErr      =      -46;
  80.   fBsyErr       =      -47;
  81.   dupFNErr      =      -48;
  82.   opWrErr       =      -49;
  83.   paramErr      =      -50;
  84.   rfNumErr      =      -51;
  85.   gfpErr        =      -52;
  86.   volOffLinErr  =      -53;
  87.   permErr       =      -54;
  88.   volOnLinErr   =      -55;
  89.   nsDrvErr      =      -56;
  90.   noMacDskErr   =      -57;
  91.   extFSErr      =      -58;
  92.   fsRnErr       =      -59;
  93.   badMDBErr     =      -60;
  94.   wrPermErr     =      -61;
  95.  
  96.   lastDskErr    =      -64; (* last of the range of low-level disk errors    *)
  97.   noDriveErr    =      -64;
  98.   offLinErr     =      -65;
  99.   noNybErr      =      -66;
  100.   noAdrMkErr    =      -67;
  101.   dataVerErr    =      -68;
  102.   badCksmErr    =      -69;
  103.   badBtSlpErr   =      -70;
  104.   noDtaMkErr    =      -71;
  105.   badDCksum     =      -72;
  106.   badDBtSlp     =      -73;
  107.   wrUnderrun    =      -74;
  108.   cantStepErr   =      -75;
  109.   tk0BadErr     =      -76;
  110.   initIWMErr    =      -77;
  111.   twoSideErr    =      -78;
  112.   spdAdjErr     =      -79;
  113.   seekErr       =      -80;
  114.   sectNFErr     =      -81;
  115.   firstDskErr   =      -84; (* first of the range of low-level disk errors   *)
  116.  
  117.  
  118.    (* Clock Errors *)
  119.  
  120.   clkRdErr      =      -85; (* Unable to read clock                          *)
  121.   clkWrErr      =      -86; (* time written did not verify                   *)
  122.   prWrErr       =      -87; (* parmeter RAM written did not verify           *)
  123.   prInitErr     =      -88; (* Validity status is not $A8                    *)
  124.  
  125.  
  126.    (* AppleTalkManager Errors *)
  127.  
  128.   ddpSktErr     =      -91;
  129.   ddpLenErr     =      -92;
  130.   noBridgeErr   =      -93;
  131.   lapProtErr    =      -94;
  132.   excessCollsns =      -95;
  133.   portInUse     =      -97;
  134.   portNotCf     =      -98;
  135.  
  136.  
  137.    (* ScrapManager Errors *)
  138.  
  139.   noScrapErr    =     -100;
  140.   noTypeErr     =     -102;
  141.  
  142.  
  143.    (* MemoryManager Errors *)
  144.  
  145.   memROZErr     =      -99; (* operation on a read-only zone                 *)
  146.   memFullErr    =     -108; (* not enough room in heap zone                  *)
  147.   iMemFullErr   =     -108; (* same for printing manager                     *)
  148.   nilHandleErr  =     -109; (* Master Pointer was NIL in HandleZone or other *)
  149.   memWZErr      =     -111; (* WhichZone failed (applied to free block)      *)
  150.   memPurErr     =     -112; (* trying to purge locked or non-purgeable block *)
  151.   memLockedErr  =     -117; (* block is locked                               *)
  152.  
  153.   dirNFErr      =     -120; (* directory not found                           *)
  154.   tmwdoErr      =     -121; (* too many working directories open             *)
  155.   badMovErr     =     -122; (* attempt to move into offspring                *)
  156.   wrgVolTypErr  =     -123; (* hierarchical operation on non-HFS volume      *)
  157.   fsDSIntErr    =     -127; (* internal file system error                    *)
  158.  
  159.  
  160.    (* ResourceManager Errors *)
  161.  
  162.   resNotFound   =     -192; (*  Resource not found                           *)
  163.   resFNotFound  =     -193; (*  Resource file not found                      *)
  164.   addResFailed  =     -194; (*  AddResource failed                           *)
  165.   rmvResFailed  =     -196; (*  RmveResource failed                          *)
  166.   resAttrErr    =     -198; (*  attribute inconsistent with operation        *)
  167.   mapReadErr    =     -199; (*  map inconsistent with operation              *)
  168.  
  169.  
  170.    (* Additional AppleTalkManager Errors *)
  171.  
  172.   nbpBuffOvr    =    -1024;
  173.   nbpNoConfirm  =    -1025;
  174.   nbpConfDiff   =    -1026;
  175.   nbpDuplicate  =    -1027;
  176.   nbpNotFound   =    -1028;
  177.   nbpNISErr     =    -1029;
  178.   reqFailed     =    -1096;
  179.   tooManyReqs   =    -1097;
  180.   tooManySkts   =    -1098;
  181.   badATPSkt     =    -1099;
  182.   badBuffNum    =    -1100;
  183.   noRelErr      =    -1101;
  184.   cbNotFound    =    -1102;
  185.   noSendResp    =    -1103;
  186.   noDataArea    =    -1104;
  187.   reqAborted    =    -1105;
  188.   buf2SmallErr  =    -3101;
  189.   noMPPError    =    -3102;
  190.   cksumErr      =    -3103;
  191.   extractErr    =    -3104;
  192.   readQErr      =    -3105;
  193.   atpLenErr     =    -3106;
  194.   atpBadResp    =    -3107;
  195.   recNotFnd     =    -3108;
  196.   sktClosedErr  =    -3109;
  197.  
  198.  
  199.  
  200. (*******************************************************************************)
  201.  
  202.  
  203.  
  204.    (* AppleTalk *)
  205.  
  206.   lapSize = 20;
  207.   ddpSize = 26;
  208.   nbpSize = 26;
  209.   aptSize = 56;
  210.  
  211.  
  212.    (* ControlManager *)
  213.  
  214.   pushButProc   =  0;
  215.   checkBoxProc  =  1;
  216.   radioButProc  =  2;
  217.   useWFont      =  8;
  218.   scrollBarProc = 16;
  219.  
  220.   inButton     =  10;
  221.   inCheckBox   =  11;
  222.   inUpButton   =  20;
  223.   inDownButton =  21;
  224.   inPageUp     =  22;
  225.   inPageDown   =  23;
  226.   inThumb      = 129;
  227.  
  228.   noConstraint = 0;
  229.   hAxisOnly    = 1;
  230.   vAxisOnly    = 2;
  231.  
  232.   drawCntl  = 0;
  233.   testCntl  = 1;
  234.   calcCRgns = 2;
  235.   initCntl  = 3;
  236.   dispCntl  = 4;
  237.   posCntl   = 5;
  238.   thumbCntl = 6;
  239.   dragCntl  = 7;
  240.   autoTrack = 8;
  241.  
  242.  
  243.    (* DeviceManager *)
  244.  
  245.   fsCurPerm    = 0;
  246.   fsRdPerm     = 1;
  247.   fsWrPerm     = 2;
  248.   fsRdWrPerm   = 3;
  249.   fsRdWrShPerm = 4;
  250.  
  251.   fsAtMark    =  0;
  252.   fsFromStart =  1;
  253.   fsFromLEOF  =  2;
  254.   fsFromMark  =  3;
  255.  
  256.    (* Chooser message values *)
  257.  
  258.   newSelMsg    = 12;
  259.   fillListMsg  = 13;
  260.   getSelMsg    = 14;
  261.   selectMsg    = 15;
  262.   deselectMsg  = 16;
  263.   terminateMsg = 17;
  264.   buttonMsg    = 18;
  265.  
  266.   chooserID = 1;
  267.  
  268.  
  269.    (* DialogManager *)
  270.  
  271.   ctrlItem    =    4;
  272.   btnCtrl     =    0;
  273.   chkCtrl     =    1;
  274.   radCtrl     =    2;
  275.   resCtrl     =    3;
  276.   statText    =    8;
  277.   editText    =   16;
  278.   iconItem    =   32;
  279.   picItem     =   64;
  280.   userItem    =    0;
  281.   itemDisable =  128;             (*  disable item if set (i.e. if added) *)
  282.  
  283.   ok         =     1;
  284.   cancel     =     2;
  285.  
  286.   stopIcon    = 0;
  287.   noteIcon    = 1;
  288.   cautionIcon = 2;
  289.  
  290.  
  291.    (* DiskDriver (included in PBManager) *)
  292.  
  293.   rdVerify = 64;
  294.  
  295.   dtrNegated = 40H;
  296.  
  297.    (* OSEventManager / EventManager *)
  298.  
  299.   nullEvent   =  0;
  300.   mouseDown   =  1;
  301.   mouseUp     =  2;
  302.   keyDown     =  3;
  303.   keyUp       =  4;
  304.   autoKey     =  5;
  305.   updateEvt   =  6;
  306.   diskEvt     =  7;
  307.   activateEvt =  8;
  308.   abortEvt    =  9;
  309.   networkEvt  = 10;
  310.   driverEvt   = 11;
  311.   app1Evt     = 12;
  312.   app2Evt     = 13;
  313.   app3Evt     = 14;
  314.   app4Evt     = 15;
  315.  
  316.   charCodeMask = VAL(LONGINT, 0FFH);
  317.   keyCodeMask  = VAL(LONGINT, 0FF00H);
  318.  
  319.    (* BITSET *)
  320.   mDownMask   =  {1};
  321.   mUpMask     =  {2};
  322.   keyDownMask =  {3};
  323.   keyUpMask   =  {4};
  324.   autoKeyMask =  {5};
  325.   updateMask  =  {6};
  326.   diskMask    =  {7};
  327.   activMask   =  {8};
  328.   abortMask   =  {9};
  329.   networkMask = {10};
  330.   driverMask  = {11};
  331.   app1Mask    = {12};
  332.   app2Mask    = {13};
  333.   app3Mask    = {14};
  334.   app4Mask    = {15};
  335.   everyEvent  = {0..15};
  336.  
  337.    (* BITSET *)
  338.   activeFlag =  0;    (* bit # 0 of low byte *)
  339.   sysAppFlag =  1;
  340.   btnState   =  7;
  341.   cmdKey     =  8;    (* bit # 0 of high byte *)
  342.   shiftKey   =  9;
  343.   alphaLock  = 10;
  344.   optionKey  = 11;
  345.  
  346.  
  347.    (* new *)
  348.    (* control characters which can be generated on the Macintosh keyboard *)
  349.   ETX =  3C;  (* enter     (keyboard or keypad *)
  350.   BS  = 10C;  (* backspace (keyboard)          *)
  351.   HT  = 11C;  (* tab       (keyboard)          *)
  352.   CR  = 15C;  (* return    (keyboard)          *)
  353.   ESC = 33C;  (* clear     (keypad)            *)
  354.   FS  = 34C;  (* left      (keypad)            *)
  355.   GS  = 35C;  (* right     (keypad)            *)
  356.   RS  = 36C;  (* up        (keypad)            *)
  357.   US  = 37C;  (* down      (keypad)            *)
  358.   SP  = 40C;  (* space     (keyboard)          *)
  359.  
  360.  
  361.    (* FileManager *)
  362.  
  363.     (* BITSET *)
  364.   fOnDesk    =  0;
  365.   fHasBundle = 13;
  366.   fInvisible = 14;
  367.  
  368.   fTrash     = -3;
  369.   fDesktop   = -2;
  370.   fDisk      =  0;
  371.  
  372.  
  373.    (* FontManager *)
  374.  
  375.   systemFont =  0;
  376.   applFont   =  1;
  377.   newYork    =  2;
  378.   geneva     =  3;
  379.   monaco     =  4;
  380.   venice     =  5;
  381.   london     =  6;
  382.   athens     =  7;
  383.   sanFran    =  8;
  384.   toronto    =  9;
  385.   cairo      = 11;
  386.   losAngeles = 12;
  387.   times      = 20;
  388.   helvetica  = 21;
  389.   courier    = 22;
  390.   symbol     = 23;
  391.   taliesin   = 24;
  392.  
  393.   commandMark = 21C;
  394.   checkMark   = 22C;
  395.   diamondMark = 23C;
  396.   appleMark   = 24C;
  397.  
  398.   propFont  = 09000H;
  399.   prpFntH   = 09001H;
  400.   prpFntW   = 09002H;
  401.   prpFntHW  = 09003H;
  402.  
  403.   fixedFont = 0B000H;
  404.   fxdFntH   = 0B001H;
  405.   fxdFntW   = 0B002H;
  406.   fxdFntHW  = 0B003H;
  407.  
  408.   fontWid   = 0ACB0H;
  409.  
  410.  
  411.    (* IntlUtilities *)
  412.  
  413.   currSymLead   =  16;
  414.   currNegSym    =  32;
  415.   currTrailingZ =  64;
  416.   currLeadingZ  = 128;
  417.  
  418.   mdy = 0;
  419.   dmy = 1;
  420.   ymd = 2;
  421.  
  422.   dayLdingZ =  32;
  423.   mntLdingZ =  64;
  424.   century   = 128;
  425.  
  426.   secLeadingZ =  32;
  427.   minLeadingZ =  64;
  428.   hrLeadingZ  = 128;
  429.  
  430.   verUS          =  0;
  431.   verFrance      =  1;
  432.   verBritain     =  2;
  433.   verGermany     =  3;
  434.   verItaly       =  4;
  435.   verNetherlands =  5;
  436.   verBelgiumLux  =  6;
  437.   verSweden      =  7;
  438.   verSpain       =  8;
  439.   verDenmark     =  9;
  440.   verPortugal    = 10;
  441.   verFrCanada    = 11;
  442.   verNorway      = 12;
  443.   verIsrael      = 13;
  444.   verJapan       = 14;
  445.   verAustralia   = 15;
  446.   verArabia      = 16;
  447.   verFinland     = 17;
  448.   verFrSwiss     = 18;
  449.   verGrSwiss     = 19;
  450.   verGreece      = 20;
  451.   verIceland     = 21;
  452.   verMalta       = 22;
  453.   verCyprus      = 23;
  454.   verTurkey      = 24;
  455.   verYugoslavia  = 25;
  456.  
  457.  
  458.    (* MenuManger *)
  459.  
  460.   noMark      =    0;
  461.  
  462.   mDrawMsg   = 0;
  463.   mChooseMsg = 1;
  464.   mSizeMsg   = 2;
  465.  
  466.   textMenuProc = 0;
  467.  
  468.   atRear       = 0;   (* new *)
  469.  
  470.  
  471.    (* PackageManager (included in ToolboxUtilities) *)
  472.  
  473.   listMgr = 0;
  474.   dskInit = 2;
  475.   stdFile = 3;
  476.   flPoint = 4;
  477.   trFunc  = 5;
  478.   intUtil = 6;
  479.   bdConv  = 7;
  480.  
  481.  
  482.    (* PrintingManager *)
  483.  
  484.   bDraftLoop = 0C;
  485.   bSpoolLoop = 1C;
  486.  
  487.   bDevCItoh = 256;
  488.   bDevLaser = 259;
  489.  
  490.   iPFMaxPgs = 128;
  491.  
  492.   iPrDevCtl   =  7;
  493.   lPrReset    = VAL(LONGINT, 10000H);
  494.   lPrLineFeed = VAL(LONGINT, 30000H);
  495.   lPrLFSixth  = VAL(LONGINT, 3FFFFH);
  496.   lPrPageEnd  = VAL(LONGINT, 20000H);
  497.   iPrBitsCtl  =  4;
  498.   lScreenBits = 0D;
  499.   lPaintBits  = 1D;
  500.   iPrIOCtl    =  5;
  501.  
  502.   sPrDrvr    = '.Print';
  503.   iPrDrvrRef = -3;
  504.  
  505.  
  506.    (* QuickDraw *)
  507.  
  508.   srcCopy      =  0;
  509.   srcOr        =  1;
  510.   srcXor       =  2;
  511.   srcBic       =  3;
  512.   notSrcCopy   =  4;
  513.   notSrcOr     =  5;
  514.   notSrcXor    =  6;
  515.   notSrcBic    =  7;
  516.   patCopy      =  8;
  517.   patOr        =  9;
  518.   patXor       = 10;
  519.   patBic       = 11;
  520.   notPatCopy   = 12;
  521.   notPatOr     = 13;
  522.   notPatXor    = 14;
  523.   notPatBic    = 15;
  524.  
  525.   normalBit    = 0;
  526.   inverseBit   = 1;
  527.   redBit       = 4;
  528.   greenBit     = 3;
  529.   blueBit      = 2;
  530.   cyanBit      = 8;
  531.   magentaBit   = 7;
  532.   yellowBit    = 6;
  533.   blackBit     = 5;
  534.  
  535.   blackColor   =  33;
  536.   whiteColor   =  30;
  537.   redColor     = 205;
  538.   greenColor   = 341;
  539.   blueColor    = 409;
  540.   cyanColor    = 273;
  541.   magentaColor = 137;
  542.   yellowColor  =  69;
  543.  
  544.   picLParen    = 0;
  545.   picRParen    = 1;
  546.  
  547.   sysPatListID = 0;
  548.  
  549.   iBeamCursor = 1;
  550.   crossCursor = 2;
  551.   plusCursor  = 3;
  552.   watchCursor = 4;
  553.  
  554.  
  555.  
  556.    (* ResourceManager *)
  557.  
  558.    (* BITSET *)
  559.   resSysHeap   =       6;
  560.   resPurgeable =       5;
  561.   resLocked    =       4;
  562.   resProtected =       3;
  563.   resPreload   =       2;
  564.   resChanged   =       1;
  565.  
  566.    (* BITSET *)
  567.   mapReadOnly =        7;
  568.   mapCompact  =        6;
  569.   mapChanged  =        5;
  570.  
  571.  
  572.    (* SegmentLoader *)
  573.  
  574.   appOpen  = 0;
  575.   appPrint = 1;
  576.  
  577.  
  578.    (* SerialDrivers *)
  579.  
  580.    (* BITSET *)
  581.   baud300      = {2..6,8};
  582.   baud600      = {0,2..5,7};
  583.   baud1200     = {1..4,6};
  584.   baud1800     = {1..5};
  585.   baud2400     = {1..3,5};
  586.   baud3600     = {1..4};
  587.   baud4800     = {1,2,4};
  588.   baud7200     = {1..3};
  589.   baud9600     = {1,3};
  590.   baud19200    = {2};
  591.   baud57600    = {};
  592.  
  593.   stop10       = {14};
  594.   stop15       = {15};
  595.   stop20       = {14,15};
  596.  
  597.   noParity     = {};
  598.   oddParity    = {12};
  599.   evenParity   = {12,13};
  600.  
  601.   data5        = {};
  602.   data6        = {11};
  603.   data7        = {10};
  604.   data8        = {10,11};
  605.  
  606.   swOverrunErr = {0};
  607.   parityErr    = {4};
  608.   hwOverrunErr = {5};
  609.   framingErr   = {6};
  610.  
  611.   ctsEvent     = {5};
  612.   breakEvent   = {7};
  613.  
  614.   xOffWasSent  = 200C;
  615.  
  616.    (* e.g. default setting of 9600 bit/s, 8 data bits, 2 stop bits and no parity
  617.       bitsetWord = baud9600 + data8 + stop20 + noParity *)
  618.  
  619.    (* SoundDriver *)
  620.  
  621.   swMode = -1;
  622.   ftMode =  1;
  623.   ffMode =  0;
  624.  
  625.  
  626.    (* StdFilePackage *)
  627.  
  628.   putDlgID  = -3999;
  629.   getDlgID  = -4000;
  630.  
  631.   putSave   = 1;
  632.   putCancel = 2;
  633.   putEject  = 5;
  634.   putDrive  = 6;
  635.   putName   = 7;
  636.  
  637.   getOpen   = 1;
  638.   getCancel = 3;
  639.   getEject  = 5;
  640.   getDrive  = 6;
  641.   getNmList = 7;
  642.   getScroll = 8;
  643.  
  644.  
  645.    (* TextEdit *)
  646.  
  647.   teJustLeft   =  0;
  648.   teJustCenter =  1;
  649.   teJustRight  = -1;
  650.  
  651.  
  652.    (* OSUtilities *)
  653.  
  654.   macXLMachine = 0;
  655.   macMachine   = 1;
  656.  
  657.  
  658.    (* WindowManager *)
  659.  
  660.   documentProc  =  0;
  661.   dBoxProc      =  1;
  662.   plainDBox     =  2;
  663.   altDBoxProc   =  3;
  664.   noGrowDocProc =  4;
  665.   zoomDocProc   =  8;
  666.   zoomNoGrow    = 12;
  667.   rDocProc      = 16;
  668.  
  669.   dialogKind = 2;
  670.   userKind   = 8;
  671.  
  672.   inDesk      = 0;
  673.   inMenuBar   = 1;
  674.   inSysWindow = 2;
  675.   inContent   = 3;
  676.   inDrag      = 4;
  677.   inGrow      = 5;
  678.   inGoAway    = 6;
  679.   inZoomIn    = 7;
  680.   inZoomOut   = 8;
  681.  
  682.   wDraw      = 0;
  683.   wHit       = 1;
  684.   wCalcRgns  = 2;
  685.   wNew       = 3;
  686.   wDispose   = 4;
  687.   wGrow      = 5;
  688.   wDrawGIcon = 6;
  689.  
  690.   wNoHit     = 0;
  691.   wInContent = 1;
  692.   wInDrag    = 2;
  693.   wInGrow    = 3;
  694.   wInGoAway  = 4;
  695.   wInZoomIn  = 5;
  696.   wInZoomOut = 6;
  697.  
  698.   deskPatID = 16;
  699.  
  700.   inFront = VAL(WindowPtr,-1D);         (* new *)
  701.  
  702.  
  703.  
  704. (*******************************************************************************)
  705.  
  706.  
  707.  
  708.   (* 128K ROM *)
  709.  
  710.  
  711.    (* ListManager *)
  712.  
  713.    (* BITSET *)
  714.   lDoVAutoscroll = 1;
  715.   lDoHAutoscroll = 0;
  716.  
  717.    (* BITSET *)
  718.   lOnlyOne    = 7;
  719.   lExtendDrag = 6;
  720.   lNoDisjoint = 5;
  721.  
  722.    (* BITSET *)
  723.   lNoExtend    = 4;
  724.   lNoRect      = 3;
  725.   lUseSense    = 2;
  726.   lNoNilHilite = 1;
  727.  
  728.   lInitMsg   = 0;
  729.   lDrawMsg   = 1;
  730.   lHiliteMsg = 2;
  731.   lCloseMsg  = 3;
  732.  
  733.  
  734.    (* SCSIManager *)
  735.  
  736.   scInc   = 1;
  737.   scNoInc = 2;
  738.   scAdd   = 3;
  739.   scMove  = 4;
  740.   scLoop  = 5;
  741.   scNop   = 6;
  742.   scStop  = 7;
  743.   scComp  = 8;
  744.  
  745.   scBadParmsErr = 4;
  746.   scCommErr     = 2;
  747.   scCompareErr  = 6;
  748.   scPhaseErr    = 5;
  749.  
  750.  
  751. END MacConstants.
  752.