Metalanguage, letter T

tab, tabformat, textarg, tfacekeyword, timeout, titlepos, tkeyword, tname, transparameters, truefalse, truthop, tsparam, tstartargument, tstartkeyword, tvexpr


tab

Introduced in the 1995 M[UMPS] Windowing Application Programmer's Interface.

This metalanguage symbol represents the horizontal tabulation control character (HT, $CHAR(9)).


tabformat

Approved for inclusion in a future ANSI M[UMPS] language standard.

This metalanguage symbol represents a format item that causes a tabulation in a READ or WRITE command. Such a format is written as a question mark followed by a numeric expression.


textarg

Introduced in the 1995 ANSI M[UMPS] language standard.

This metalanguage symbol represents the specification of the line in a M[UMPS] program that is to be retrieved by the function $TEXT.

The specification can look like:

+12^ROUTINE
LABEL^ROUTINE
LABEL
LABEL+12^ROUTINE
LABEL+12
^ROUTINE

or be an indirection of an expression that evaluates to one of these forms.


tfacekeyword

Introduced in the 1995 ANSI M[UMPS] Windowing Application Programmer's Interface standard.

This metalanguage symbol represents an expression that evaluates to the value "TYPEFACE".


timeout

Introduced in the 1977 ANSI M[UMPS] language standard.

This metalanguage symbol represents a specification of an amount of time. A time-out specification is used to specify that the program should not attempt to complete a certain action for longer than the number of seconds identified in the time-out specification.

Time-out specifications can be used on arguments of JOB, READ and LOCK commands.

Note: The amount of seconds to be specified may be a fractional number. Many operating environments (especially those running on Unix (TM) platforms) do not support fractional seconds. This is a limitation of the operating environment, not a limitation of M[UMPS]. For portability, however, one cannot rely on the ability to use fractional numbers in this context.

Note: The metalanguage definition of timeout includes the colon that separates the time-out specification from the argument on which it operates.


titlepos

Introduced in the 1995 ANSI M[UMPS] Windowing Application Programmer's Interface standard.

This metalanguage symbol represents a code that specifies where the title of a gadget will appear. This metalanguage symbol occurs as an expression that evaluates to either one of "LEFT", "RIGHT" or "TOP", or to an implementation-specific value (starts with "Z").


tkeyword

Introduced in the 1995 ANSI M[UMPS] Windowing Application Programmer's Interface standard.

This metalanguage symbol represents an expression that evaluates to the value "T".


tname

Introduced in the 1995 ANSI M[UMPS] Windowing Application Programmer's Interface standard.

This metalanguage symbol represents the name of a timer. Names of timers consist of alphabetic characters and digits and may start with a % sign.

For portability, the number of characters in the name of a timer is limited to 31 characters.


transparameters

Introduced in the 1995 ANSI M[UMPS] language standard.

This metalanguage symbol represents the specification of the parameters that qualify a transaction. This specification may consist of either one transaction parameter, or of a list of transaction parameters (separated by colons) enclosed in parentheses).

Transaction parameters take the form of a keyword, optionally followed by an equal sign (=), and an expression that signifies the value to be assigned to the parameter indicated by the keyword.


truefalse

Introduced in the 1995 M[UMPS] Windowing Application Programmer's Interface.

This metalanguage symbol represents a truth value. A truth value is the boolean interpretation of an expression (0 corresponds to false, 1 corresponds to true; any non-zero value is true, and thus shows as 1 when interpreted as a truth value).


truthop

Introduced in the 1977 ANSI M[UMPS] language standard.

This metalanguage symbol represents any of the relational binary operators (i.e. one of =, <, >, [ or ]) or any of the logical binary operators, (i.e. one of !, or &).


tsparam

Introduced in the 1995 ANSI M[UMPS] language standard.

This metalanguage symbol represents a transaction parameter.

Transaction parameters take the form of a keyword, optionally followed by an equal sign (=), and an expression that signifies the value to be assigned to the parameter indicated by the keyword.

Valid parameter specifications are T[RANSACTIONID]=value and S[ERIAL].


tstartargument

Introduced in the 1995 ANSI M[UMPS] language standard.

This metalanguage symbol represents an occurrence of an argument of the TSTART command. Examples of valid arguments for the TSTART command appear in an earlier section. The argument of the TSTART command is either an indication of local variables to reset at a restart as described below, optionally followed by an equal colon, followed by transaction parameters (which may be either a single parameter as described below, of a list of such parameters (separated by colons) enclosed in parentheses), or an indirection operator (@) followed by an expression that evaluates to a list (separated by commas) of such arguments.

The specification of which variables to reset at a restart may look like:

Transaction parameters take the form of a keyword, optionally followed by an equal sign (=), and an expression that signifies the value to be assigned to the parameter indicated by the keyword.


tstartkeyword

Introduced in the 1995 ANSI M[UMPS] language standard.

This metalanguage symbol represents a text that indicates a special attribute of a TSTART command. Possible keywords are SERIAL and TRANSACTIONID.


tvexpr

Introduced in the 1977 ANSI M[UMPS] language standard.

This metalanguage symbol represents the truth value interpretation of an expression. In order to produce the truth value interpretation of an expression, first the expression is evaluated, and then reduced to its canonical numeric representation; after this, if the numeric value is nonzero, it is replaced by 1.

String value Truth value interpretation
123 1
"apples" 0
"25 apples" 1
"seven apples" 0
5.23 1
-5.23 1
1.7 1
-1.7 1


This document is © Ed de Moel, 1995-2005.
It is part of a book by Ed de Moel that is published under the title "M[UMPS] by Example" (ISBN 0-918118-42-5).
Printed copies of the book are no longer available.

This document describes the various metalanguage terms starting with the letter "T" that are used throughout the M[UMPS] standards, as well as some other terms that may not be obvious to all readers of the M[UMPS] language standards.

The information in this document is NOT authoritative and subject to be modified at any moment.
Please consult the appropriate (draft) language standard for an authoritative definition.

In this document, information is included that will appear in future standards.
The MDC cannot guarantee that these 'next' standards will indeed appear.