AT&T 6300 Programmer's Manual page 358

Gwbasic by microsoft
Hide thumbs Also See for 6300:
Table of Contents

Advertisement

MKI$,MKS$,MKD$
Functions
Make a string value from a numeric value.
Syntax 1
Syntax 2
Syntax 3
Remarks
MKI$(integer expression)
MKS$(single precision expression)
MKD$(double precision expression)
Any numeric value that is placed in a random
file buffer with an LSET or RSET statement
must be converted to a string.
MKI$ converts an integer to a 2-byte string.
MKS$ converts a single-precision number to a
4-byte string. MKD$ converts a double-
precision number to an 8-byte string.
See also "CVI, CVS, CVD Functions" in this
chapter.
Example
7-202
90
100
110
120
130
AMT=(K+T)
FIELD #1,8 AS DS,20 AS NS
LSET DS = MKDS (AMT)
LSET NS=AS
PUT #1

Advertisement

Table of Contents
loading

Table of Contents