HP 3000 Manuals

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


HP EDIT Reference Manual

Upshift Character 

Purpose 

Converts one or more alphabetic characters to uppercase.

Default Syntax 

[n] ^

where n represents the number of characters to convert to uppercase.  The
default value of n is 1.

Description 

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

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

Procedures 

To convert one lowercase character to uppercase: 

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

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

To convert more than one lowercase character to uppercase: 

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

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

   3.  Press the ^ key.  HP EDIT scans the number of characters
       specified, converts all lowercase 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: 

     abc123DEFghi

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

   2.  Type the number 10 as the count.

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

            ABC123DEFGhi

Related Commands 

       Upshift Word
       Upshift Line



MPE/iX 5.0 Documentation