GT.M Utilities Summary Table

GT.M Utilities Summary

UTILITY NAME

DESCRIPTION

%D

Displays the current date in [d]d-mmm-[yy]yy format.

%DATE

Converts input date to $HOROLOG format.

%DH

Converts decimal numbers to hexadecimal.

%DO

Converts decimal numbers to octal.

%EXP

Raises number to the power of another number.

%FL

Lists comment lines at the beginning of the source programs.

%FREECNT

Displays the number of free blocks in the database files associated with the current global directory.

%G

Displays global variables and their values.

%GBLDEF

Manipulates the collation sequence assigned to a global.

%GC

Copies a global or global sub-tree.

%GCE

Replaces a specified value or part of a value in a set of global variables.

%GD

Displays existing globals in the current global directory without displaying their values or descendants.

%GED

Provides full-screen editing capabilities for global variables and values.

%GI

Enters global variables and their values from a sequential file into a database.

%GO

Copies globals from the current database to a sequential output file.

%GSE

Displays global variables and their values when the values contain a specified string or number.

%GSEL

Selects globals by name.

%H

Converts date and time to and from $HOROLOG format.

%HD

Converts hexadecimal numbers to decimal.

%HEX2UTF

Converts the given bytestream in hexadecimal notation to GT.M encoded character string.

%HO

Converts hexadecimal numbers to octal.

%JSWRITE

Converts a GT.M glv structure to a string of JS objects.

%LCASE

Converts a string to all lower case.

%LCLCOL

Manipulates the collation sequence assigned to local variables.

%OD

Converts octal numbers to decimal.

%OH

Converts octal numbers to hexadecimal.

%PATCODE

Loads pattern definition files for use within an active database.

%RCE

Replaces every occurrence of a text string with another string in a routine or list of routines.

%RD

Lists routine names available through your $ZROUTINES search list.

%RI

Transfers routines from ANSI sequential format into individual .m files in GT.M format.

%RO

Writes M routines in ANSI transfer format.

%RSE

Searches for every occurrence of a text string in a routine or a list of routines.

%RSEL

Selects M routines and places their directories and names in a local array.

%SQROOT

Calculates the square root of a number.

%T

Displays the current time in [h]h:mm AM/PM format.

%TI

Converts time to $HOROLOG format.

%TO

Converts the current time from $HOROLOG format to [h]h:mm AM/PM format.

%UCASE

Converts a string to all upper case.

%UTF2HEX

Converts UTF-8 encoded GT.M character string to bytestream in hexadecimal notation.