Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

VAXTPU EDIT — VMS 5.2

 EDIT

    Modifies a string according to the keywords you specify.  This is
    similar to the DCL lexical function F$EDIT; the differences are
    explained in the VAX Text Processing Utility Manual.

 Syntax

    EDIT (string, keyword1[,...] [,keyword2])

 Parameters

    string     The string that you want to modify.

    keyword1   The editing operation you want to perform on the string.
               Valid keywords are:  COLLAPSE, COMPRESS, INVERT, LOWER,
               TRIM, TRIM_LEADING, TRIM_TRAILING, or UPPER.

    keyword2   Optionally, specifies whether VAXTPU quote characters are
               used as quote characters or as regular text.  The valid
               keywords are ON or OFF.  The default is ON.

 Example

    The following procedure shows a general way of changing any input
    string to lower case; the string with the changed case is written to
    the message area:

    PROCEDURE user_lowercase_string (input_string)
       EDIT (input_string, LOWER);
       MESSAGE (input_string);
    ENDPROCEDURE;

 Related topics

    CHANGE_CASE    FAO

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