The qmconv Utility

The qmconv Utility

Top  Previous  Next

 

QM hashed files and QMBasic object code are sensitive to the byte ordering of the system on which they are used. If a file, program or ECS character map is moved from a system with one byte ordering to a system of the opposite byte ordering, the qmconv utility can be used to update the file or program.

 

This tool is run from the operating system command prompt. The command line is

qmconv options pathname(s)

where

optionsare case insensitive option codes from the following set:
-BConvert to "big-endian" format.
-LConvert to "little-endian" format.
pathnameis the pathname of the file to be processed. Multiple pathnames may be given and wildcards may be used. qmconv will ignore names that do not correspond to QM files.

 

 

If neither mode option is given, the file is converted to the byte ordering of the system on which the command is run.

 

 

Hashed files must be converted when moving to a system with different byte ordering. Conversion is optional for QMBasic object code as programs will be converted automatically on loading into memory, if needed.

 

 

In addition to use of qmconv, moving from Windows to Unix/Linux based systems or vice versa requires that pathnames in the VOC are converted to use the appropriate directory delimiter character. This can be achieved by typing

*fixpath

at the QM command prompt in the relevant account. Alternatively, an account name or pathname may be given

*fixpath acc.name