xcall MIAMEX, MX_TITLE, opcode, title
MX_TITLE gets or sets the title string which will be displayed in the Windows title bar or applicable terminal emulator.
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.
Parameters
opcode (Num)
0 to retrieve the current title or 1 to set it.
title (String)
is the title string, either returned for opcode 0 or to set for opcode 1. title string 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 |