ToString (Record function)

From m204wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Information about Record (Record class)

ToString returns a longstring that has the file name, record number, and lock strength of the Record object.

Syntax

%string = record:ToString

Syntax terms

%string A longstring variable to receive the contents of the Record.
record A Record object variable.

Usage notes

  • ToString can be applied implicitly: simply Print (or Audit) an object variable, and the ToString method is automatically applied to the object. That is:

    print %rec

    is equivalent to:

    print %rec:ToString

Examples

The following record display is produced by a print %rec statement.

Filename=MYPROC, RecordNumber=212121, LockStrength=Share

See also