Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

VAXTPU LENGTH — VMS 5.2

 LENGTH

 Returns an integer for the number of character positions in a string or a
 range.  Note that the length of a range does not include an line ends.

 Syntax

    integer := LENGTH ({string | range})

 Parameters

    string     A string whose length you want to determine.

    range      A range whose length you want to determine.

 Example

    str_len := LENGTH ("Sir John Falstaff");

 Stores in the variable STR_LEN the number of characters in the string "Sir
 John Falstaff" -- in this example, the integer value is 17.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026