Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
myMDEF.a
INCLUDE 'traps.a' |
STRING ASIS |
MyMDEF MAIN EXPORT ; this will be the entry point |
IMPORT MYMENU ; name of Pascal FUNCTION that is the WDEF |
; we IMPORT externally referenced routines |
; from Pascal (in this case, just this one) |
BRA.S @0 ; branch around the header to the actual code |
DC.W 0 ; flags word |
DC.B 'MDEF' ; type |
DC.W 128 ; ID number |
DC.W 0 ; version |
@0 JMP MyMenu ; this calls the Pascal WDEF |
END |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14