ToString (Record function)

From m204wiki
Revision as of 22:17, 15 April 2011 by JAL2 (talk | contribs) (Created page with "{{Template:Record:ToString subtitle}} <var>ToString</var> returns information (file name, record number, lock strength) about the <var>Record</var> object to a longstring. ==S...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Information about Record (Record class)

ToString returns information (file name, record number, lock strength) about the Record object to a longstring.

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