PROCDESC         Define procedure prototype                         Directive

PROCDESC procname [procedure_description] ; Ideal mode
procname PROCDESC [procedure_description] ; MASM mode

Declares a procedure prototype, which lets Turbo Assembler check the
types and number of parameters to procedure calls and declarations, and
specifies language and distance. Also serves to PUBLIC or EXTRN the
procedure.

Be sure that PROCDESC appears before the PROC declaration and any use
of the procedure name.

Example: PROCDESC ptest pascal FAR :word, :dword, :word
; ...
call ptest pascal, ax, ds bx, cx ; OK
call ptest, ax, ds bx, cx ; OK (language default)
call ptest C, ax, ds bx, cx ; Wrong language
call ptest pascal, eax, ebx, cl ; Wrong parameter type
call ptest pascal, ax, ds bx ; Too few parameters

Note: The PROCDESC declaration generates the following
statements:
PROCTYPE @Type_PTEST PASCAL FAR:WORD,:DWORD,:BYTE
GLOBAL PTEST:@Type_PTEST

Note: Overriding the language specifier in a CALL to an
external procedure has no effect, but will generate
a warning only if the module is assembled with the
/l or /la switch (!?).