# MX\_DYNFUNC

> [HTML Version](mx_dynfunc.htm)

_Added October 2018_

**xcall MIAMEX, MX\_DYNFUNC, op, funcname, status, type, size**

MX\_DYNFUNC (MIAMEX 193) is used for DYNFUNC-related utilities.

**Parameters**

_opcode_  ([Num](num.md))  \[in\] 

Only one opcode, 1, is supported. It returns existence, type, and size info for the specified dynamic function.

_funcname_  ([String](string.md))  \[in\] 

Name of the function to inquire about. Case sensitive. Must be tagged with the Dynamic keyword for it to be visible.

_status_  (Signed [Num](num.md))  \[out\]

Returns 1 if found, 0 if not found, <0 for errors

_type_  ([String](string.md))  \[out\]

Returns the type of the function, which could be an internal type—e.g. "B", "S", "X", "F", or "I"—or a DEFSTRUCT type.

_size_  ([Num](num.md))  \[out\]

Returns the length in bytes of the function's return value.

**Also See**

•	[Dynamic Functions](dynamicfunctions.md)

**History**

2018 September, A-Shell 6.5.1647:  Routine added to A-Shell.