FCOPY Reference Manual (32212-90008)
Chapter 5 81
FCOPY Functions
HEXO
HEXO
Displays the contents of a file, record by record, in the form of character code numbers. The
data is in hexadecimal form and the record number is in octal form.
Syntax
;HEXO [;{CHAR
CLEAR
KANA}] [;NORECNUM] [;TITLE=
title
]
Where:
CHAR Displays character symbols in ASCII code. Refer to the CHAR description in
this chapter.
CLEAR Displays all character symbols. Refer to the CLEAR description in this
chapter.
KANA Displays JIS character symbols. Refer to the KANA description in this
chapter.
NORECNUM Omits file identification information, record numbers, and word offset
numbers.
title
Is a character string to be used as the title of the display. If the tofile is a
printer, the title is printed at the top of each page. Otherwise, the title is
written only once, at the beginning of the tofile. The title may contain up to
62 characters, but may not be broken to be continued on the following line.
File Attributes
The fromfile must have read access, and the tofile must have write access. The tofile is
normally a list device such as $STDLIST, but it can also be another device for intermediate
storage. The record size for an intermediate storage device should be the same as that of
the list device that will ultimately print the data and must be equal to or greater than 60
bytes.
Operation
You can combine the HEXO function with the CHAR, CLEAR,orKANA functions, one at a time,
to display character symbols, as well as numerical codes.
The tofile can be a printer, terminal, or an intermediate disk file. If the tofile is a disk file, it
must be at least 60 bytes in length.