NCR BASIC LANGUAGE REFERENCE MANUAL APPENDIX
NCR BASIC LANGUAGE SUMMARY
FUNCTION
PURPOSE
DATA TYPE
OF
Returned
(P)
Parameter
Value
CTBL
CINT
Converts the value o of Pto double precision Converts the value of P to an un- Converts the value of P to single precision
N
N (1)
N
PIS
D
CSNG
CVD
Converts an 8- bute string (P) or a souble ST precision number
Ꭰ
O
CVI
-
Converts a 2 byte string (P) to an integer
ST
I
CVS
-
Converts a 4 byte string (P) to a single
ST
S
precision number
MKD$
Convertsa double precision number (P) to
Ꭰ
ST
an 8-byte string
MKI$
Converts an integer number (P) to a 2-
I
ST
byte string
MKS$
Converts single precision number (P) to a 4 - byte string
S
ST
STR$
Generaters a string containing the number specified byte
N
ST
VAL
55
ST
N (2)
P converts a string containing a number or beginning with a number to the number
D - Double precision, I - Integer, S Precision, N - Numeric (Integer, Single Precision, or Double Precision), ST- String.
1 - Value of the expression must be avalid integer value.
2 - Data type of the depends on the precision of the number returned
110
ص ١١٥