# MX\_INFDEF

> [HTML Version](mx_infdef.htm)

**xcall MIAMEX, MX\_INFDEF, opcode, defcodes**

MX\_INFDEF (MIAMEX 143) Retrieves or sets the INFLD default TYPE codes. These may be initially set by the SBR=INFDEF statement in miame.ini, and may also be updated or queried by the SET INFDEF command.

**Parameters**

_opcode_  ([Num](num.md))  \[in\]

0 (mxop\_get) to retrieve the current SBR=INFDEF: codes into _defcodes_, and 1 (mxop\_set) to make the contents of _defcodes_ be the new default INFLD codes.

_defcodes_  ([String](string.md))  \[in\]

receives or supplies default INFLD TYPE codes, based on opcode.