Please enable JavaScript to view this site.

A-Shell Development History

Navigation: Version 5.1/6.0, builds 1100-1271 > 1159 – 24 Sep 09

Subroutines Supporting Dynamic Variables

Scroll Prev Top Next More

The following subroutines have been modified to support returning data into dynamic variables, such that they expand as needed. Previously, the output data was being truncated to the current size of the variable, or 0 for uninitialized.

ACCEPN

ACCEPT

INFLD (entry)

LOG (dev$, p$, pn$)

INVUE (entry)

MX_NXTCMD (cmdline)

MX_GETCISAM (version)

MX_GETGDO (g0, ... g9)

MX_XCBDATAX
(see note below)

MX_CLIPBOARD
(opcode 0 into text)

MX_READ

MX_REGISTRY -
MX_ENUMKEYS

MX_FINDWINDOW

TINKEY

XFILL

XPPN (device, job, trmdef)

 

Note that MX_XCBDATAX should be replaced by xgetarg, xputarg anyway.

Virtually all other documented subroutines already supported dynamic variables; the ones listed above had special issues. The one well-known exception is XTEXT, where the dst parameter does not currently recognize dynamic variables (even though they might be particularly handy there).