1 ; This Macro was removed from sysmsg.inc. We had to remove this
2 ; macro and put it into it's own include file in order to clear up
3 ; some assembly errors. MS MASM will not allow a public declaration
4 ; during the second pass of the assembler. IBM MASM will allow this.
8 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
10 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
12 $M_DECLARE macro numcls ;
15 $M_DCOUNT = $M_DCOUNT + 1 ;
16 $M_DECLARE2 %$M_DCOUNT ;
20 IFNDEF $M_RT2 ; If Resident table is not in this assembly,
21 EXTRN $M_RT2:BYTE ; Must be external
26 IFNDEF $M_RT ; If Resident table is not in this assembly,
27 EXTRN $M_RT:BYTE ; Must be external
33 $M_CHECK $M_GET_MSG_ADDRESS ; If this subroutine is not in this assembly,
34 $M_CHECK $M_MSGSERV_1 ; If this subroutine is not in this assembly,
35 $M_CHECK $M_MSGSERV_2 ; If this subroutine is not in this assembly,
39 $M_DECLARE2 macro innum ;
40 IF NOT COMR ; IF Not resident COMMAND.COM
41 IF NOT COMT ; IF Not transient COMMAND.COM
42 IFNDEF $M_CLS_&innum ; IF class is not in this assembly,
44 EXTRN $M_CLS_&innum:FAR ; Must be external
46 EXTRN $M_CLS_&innum:NEAR ; Must be external
49 PUBLIC $M_CLS_&innum ; Label PUBLIC
52 IFDIF <$M_CLS_&innum>,<$M_CLS_1> ; IF NOT $M_CLS_1 or
53 IFDIF <$M_CLS_&innum>,<$M_CLS_2> ; IF NOT $M_CLS_2 then
54 IFNDEF $M_CLS_&innum ; IF class is not in this assembly,
56 EXTRN $M_CLS_&innum:FAR ; Must be external
58 EXTRN $M_CLS_&innum:NEAR ; Must be external
61 PUBLIC $M_CLS_&innum ; Label PUBLIC
67 IFDIF <$M_CLS_&innum>,<$M_CLS_1> ; IF NOT $M_CLS_1 or
68 IFDIF <$M_CLS_&innum>,<$M_CLS_2> ; IF NOT $M_CLS_2 then
69 IFNDEF $M_CLS_&innum ; IF class is not in this assembly,
71 EXTRN $M_CLS_&innum:FAR ; Must be external
73 EXTRN $M_CLS_&innum:NEAR ; Must be external
76 PUBLIC $M_CLS_&innum ; Label PUBLIC
84 IFNDEF parm ; IF class is not in this assembly,
86 EXTRN parm:FAR ; Must be external
88 EXTRN parm:NEAR ; Must be external
98 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
100 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
103 $M_DECLARE %$M_NUM_CLS ; Declare any class not in this assembly
106 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;