home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 2
/
ctrom_ii_b.zip
/
ctrom_ii_b
/
PROGRAM
/
FOXPRO
/
FCT1_12
/
FC_NUM.HDR
< prev
next >
Wrap
Text File
|
1990-10-23
|
2KB
|
87 lines
#output Force Tools 1.1 - Numeric / conversion functions
*
* imidiate if on logical result returning integer
*
function int iifi prototype
params value logical expr, value int ret_on_true, value int ret_on_false
*
* and two integers
*
function uint and prototype
params value uint in_1, value uint in_2
*
* not integer
*
function uint not prototype
params value uint in_1
*
* or two integers
*
function uint or prototype
params value uint in_1, value uint in_2
*
* xor two integers
*
function uint xor prototype
params value uint in_1, value uint in_2
*
* shr an integer
*
function uint shr prototype
params value uint int_val, value byte shr_pos
*
* shl an integer
*
function uint shl prototype
params value uint int_val, value byte shl_pos
*
* return low byte of an integer
*
function int lo prototype
params value uint word
*
* return high byte of an integer
*
function int hi prototype
params value uint word
*
* return low word of an long
*
function uint lw prototype
params value long long_word
*
* return high word of an long
*
function uint hw prototype
params value long long_word
*
* convert byte to two char hex string
*
function char(2) hexb prototype
params value byte byte_to_convert
*
* convert integer to four char hex string
*
function char(4) hexw prototype
params value uint int_to_convert
*
* convert long to eight char hex string
*
function char(8) hexl prototype
params value ulong long_to_convert
* eof - fc_num.hdr