Please enable JavaScript to view this site.

A-Shell Reference

Reorganized April 2024

xcall MIAMEX, MX_TITLE, opcode, title

MX_TITLE (MIAMEX 85) gets or sets the title string which will be displayed in the Windows title bar or applicable terminal emulator.

Parameters

opcode (Num)  [in]

0 (mxop_get) to retrieve the current title or 1 (mxop_Set) to set it.

title  (String)  [in/out]

is the title string, either returned for opcode 0 (mxop_get) or to set for opcode 1 (mxop_set). title may contain any of the following special macros:

Title

Meaning

$TS

Display title on top status line rather than on title bar of window. Valid only at the start of the TITLE string.

$NC

Name of current program or LIT command

$ND

Name of current disk device, e.g. "DSK0"

$NJ

Name of current job

$NP

Name of current program (RUN only)

$PA

Platform A-Shell compiled for, e.g. "Windows/32"

$PN

Current PPN, e.g. "[7,6]"

$VA

A-Shell version, e.g. "4.9(942)"

$VP

Version of current program

 

Comments

MX_TITLE can also be performed using the SET.LIT TITLE option. Note that if $NC, $ND, $NP, or $PN is specified, the title display will be automatically updated whenever the corresponding information changes.