HP 3000 Manuals

Downshift Character [ HP EDIT Reference Manual ] MPE/iX 5.0 Documentation


HP EDIT Reference Manual

Downshift Character 

Purpose 

Converts one or more alphabetic characters to lowercase.

Default Syntax 

[n] v

where n is a count that represents the number of characters to convert to
lowercase.  The default value of n is 1.

Description 

This command converts one or more alphabetic characters on the cursor
line from uppercase to lowercase by scanning the number of characters
specified.  HP EDIT does not convert non-uppercase characters, such as
digits.

When you execute the command, HP EDIT scans the number of characters
specified and converts all uppercase alphabetic characters to lowercase.

If you specify a greater number of characters for conversion than
characters remaining on the cursor line, HP EDIT converts the remaining
uppercase characters on the line and moves the cursor to the last
character of the line.

Procedure 

To convert one uppercase character to lowercase: 

   1.  Move the cursor to the alphabetic character you want to convert.

   2.  Press the v key.  HP EDIT converts the character and moves the
       cursor one column to the right of the converted character.

To convert more than one uppercase character to lowercase: 

   1.  Move the cursor to the first character of the group of alphabetic
       characters you want to convert.
       [REV BEG]

   2.  Type a count representing the number of characters to scan for
       conversion or select a block.[REV END]

   3.  Press the v key.  HP EDIT scans the number of characters
       specified, converts all uppercase characters within the range, and
       moves the cursor one column to the right of the last scanned
       character.

Example 

To convert the first ten characters of the following line to lowercase: 

            ABC123defGHI

   1.  Move the cursor to the first character of the line as shown.

   2.  Type the number 10 as the count and press Return.

   3.  Press the v key.  HP EDIT converts the line as shown:

            abc123defgHI

Related Commands 

       Downshift Line
       Downshift Word
       Upshift Character
       Upshift Line
       Upshift Word



MPE/iX 5.0 Documentation