The binding operation associates a dynamic structure definition with a dynstruct variable, accomplished via one of the following methods:
• Explicit binding via MX_DYNSTRUCT:
xcall MIAMEX, MX_DYNSTRUCT, DYNOP_BIND, status, dsname$, ds
• Explicit binding via .BINDSTRUCT:
.BINDSTRUCT ds, stvar
• Implicit binding by passing an instance of a defined structure to a function which receives it as a DYNSTRUCT:
call Fn'Dive(ds=bar) ! ST_FOO will be embedded (because of how fn'foo receives it)
...
function Fn'Dive(ds as DYNSTRUCT)
See also