Command Descriptions [ HP EDIT Technical Addendum ] MPE/iX 5.0 Documentation
HP EDIT Technical Addendum
Command Descriptions
Most HP EDIT commands process both 16-bit text and 8-bit text as
described in the HP EDIT Reference Manual (HP part number 30316-90001).
This section describes the commands that operate differently.
Assign Key
This command works only with 8-bit characters, including Japanese
Katakana characters.
Calculate
The following table shows how the R, @, ;, and : calculator variables
are different when editing 16-bit text.
R Join Length The length is expressed in columns, not
(Recall/Store Access) characters.
@ Current Character The @ operator works only with 8-bit
(Recall/Store Access) characters.
; Current Line Length The length is expressed in columns, not
(Recall Only Access) characters.
: Max Line Length The length is expressed in columns, not
(Recall Only Access) characters.
Change Filename From Text
Change Filename From Text does not process 16-bit characters.
Compress Blank Space
Compress Blank Space does not compress 16-bit blank characters; it
compresses USASCII blanks.
Decrypt Commands
The two Decrypt commands are:
* Decrypt
* Decrypt With Key
The Decrypt commands process only 8-bit characters.
Define Search Commands
The three Define Search commands are:
* Define Search Pattern
* Define Search Pattern From Macro
* Define Search Pattern From Text
Define Search commands accept 8-bit and 16-bit characters in search
patterns. But you cannot specify a negated range in a search pattern
that includes 16-bit characters.
Delete Leading Blanks
Delete Leading Blanks does not delete 16-bit blank characters; it deletes
USASCII blanks.
Display Message
When you edit a file with Asian text, the Display Message Command
displays a prompt for a few seconds, then blanks out the message line to
allow you to enter a string.
Encrypt Commands
The three Encrypt commands are:
* Encrypt
* Encrypt With Key
* Set Encryption Key
The Encrypt and Encrypt With Key commands do not encrypt 16-bit
characters or 8-bit Katakana characters.
However, you can use 16-bit characters or 8-bit Katakana characters in
the encryption key.
Execute MPE Command
MPE does not support 16-bit characters.
Find Commands
The two Find commands are:
* Find Character
* Find Previous Character
When you are editing 16-bit text, the Find commands prompt you for two
bytes instead of one.
When searching for an 8-bit character, you must press the RETURN key
after typing the character to begin the search.
When you are searching for a 16-bit character, the Find begins when you
enter the character; you don't need to press the RETURN key.
Go To Column/Mark
The Go To Column/Mark command always positions the cursor at the
beginning of a 16-bit character, even if you specified a column position
occupied by the second half of an Asian character.
Join Commands
The two Join commands are:
* Join Lines
* Join Lines And Justify
A blank will be inserted if you use a Join command when an 8-bit
character is on a join boundary (the last character of the first line
being joined, or the first character of the second line being joined). A
blank will not be inserted if Asian characters are on both sides of a
join boundary.
Paste Commands
The three Paste commands are:
* Paste After
* Paste Before
* Paste Over
Paste After and Paste Before commands process 8-bit and 16-bit
characters. When you use the Paste Over command and a 16-bit character
straddles a column where text is to be pasted over, the portion of the
character to the left of the column will be changed to a USASCII blank.
Run TDP Formatter
The TDP Formatter does not support 16-bit text.
Search And Replace Commands
The two Search And Replace commands are:
* Search And Replace Backward
* Search And Replace Forward
Search And Replace commands accept 8-bit and 16-bit characters in search
patterns. But you cannot specify a negated range in a search pattern
that includes 16-bit characters.
Shift Commands
The four Shift commands are:
* Shift End Of Line Left
* Shift End Of Line Right
* Shift Line Left
* Shift Line Right
The Shift commands work with 8-bit and 16-bit text. However, when you
are using the Shift End of Line Right command and you specify a column
which contains the second half of a 16-bit character, the entire
character will be shifted.
For example, if you specify lines of text to be shifted starting in
column 15, then any Asian characters that start in column 14 will be
shifted as well.
Sort Commands
There are three Sort commands. They are:
* Sort Ascending
* Sort Descending
* Define Sort Key Columns
Sort commands process 8-bit and 16-bit characters. When you are sorting
16-bit text, however, characters must not straddle Sort column
boundaries; otherwise the Sort function will not execute properly.
Before executing a Sort command make sure 16-bit characters are aligned,
or specify Sort column boundaries that are outside of the text to be
sorted.
Upshift/Downshift Commands
The six Upshift/Downshift commands are:
* Upshift Character
* Upshift Line
* Upshift Word
* Downshift Character
* Downshift Line
* Downshift Word
Upshift and Downshift commands have no effect on Asian characters.
MPE/iX 5.0 Documentation