MIAMEX 193: Dynamic Functions

Added October 2018

xcall MIAMEX, MX_DYNFUNC, op, funcname, status, type, size

MIAMEX function MX_DYNFUNC (193) is used for DYNFUNC-related utilities.

Parameters

opcode  (Num)  [in]

Currently only one opcode, 1, is supported. It returns existence, type, and size info for the specified dynamic function.

funcname  (String)  [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)  [out]

Returns 1 if found, 0 if not found, <0 for errors

type  (String)  [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)  [out]

Returns the length in bytes of the function's return value.

Also See

•   Dynamic Functions

History

2018 September, A-Shell 6.5.1647:  Function added to A-Shell.