Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

VAXTPU LENGTH — VMS 5.5

 LENGTH

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

 Syntax

    integer := LENGTH ({buffer | range | string})

 Parameters

    buffer     The buffer whose length you want to determine.

    range      A range whose length you want to determine.

    string     A string 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