WXP version 5
Program Reference

UNIT

Sections

NAME

unit - Unit conversion program

SYNOPSIS

unit [parameters] [value old_unit new_unit]

PARAMETERS

Command Line Resource Default Description
-h help No Lists basic help information.
-df=filename default .wxpdef Sets the name of the resource file.
-na=name name heat Specifies the name used in resource file parsing.
-ba batch No Run program in batch mode
-me=level message out2 Specifies level of messages to be displayed
  • output values - print
  • value labels - mess
  • table -out1
-pa=parameter parameter none Specifies additional parameters
value
old_unit
new_unit
value none
User prompt
Specifies the input value
Specifies the units of the input value
Specifies the new units

DESCRIPTION

The unit program is an interface into the WXP units conversion library. The user specifies an input value and its units plus a requested output units.  The program will then search the units.lup file for an appropriate conversion. If a conversion is found, the result is displayed. Otherwise the initial value is displayed.

   unit 30 F C
   -1.111270                          

FILES

SEE ALSO


Last updated Sept 29, 1997