qb45advr.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
MKD$, MKI$, MKL$, and MKS$ Functions Details
  QuickSCREEN      Details      Example      Contents      Index
──────────────────────────────────────────────────────────────────────────────
MKD$, MKI$, MKL$, and MKS$ Functions Details
 
Syntax
  MKI$(integerexpression)
  MKS$(single-precision-expression)
  MKL$(long-integer-expression)
  MKD$(double-precision-expression)
 
The MKI$, MKS$, MKL$, and MKD$ functions are used with FIELD and PUT
statements to write real numbers to a random-access file. The functions
take numeric expressions and convert them to strings that can be stored
in the strings defined in the FIELD statement. The functions are the
inverse of CVI, CVS, CVL, and CVD.
 
  Function   Description
  MKI$       Converts an integer to a two-byte string
  MKS$       Converts a single-precision value to a four-byte string
  MKL$       Converts a long-integer value to a four-byte string
  MKD$       Converts a double-precision value to an eight-byte string
 
  Note: BASIC record variables provide a more efficient and convenient
        way of reading and writing random-access files.