Storage Format for MKI$, MKL$, MKS$, MKD$ Same as Variable (61332)
This article was previously published under Q61332
SUMMARY
The MKS$, MKI$, MKL$, and MKD$ functions are used in Microsoft
QuickBasic to convert numeric data to strings for use in random access
files. The actual conversion of the numbers to strings is just a
transfer of the binary representation of the number. If you look at a
binary representation of both a numeric variable and the string
equivalent made with the MKS$, MKI$, MKL$, or MKD$ function, you will
see that they are exactly the same (with the exception of MKS$ and
MKD$ when compiling with the /MBF option).
This information applies to Microsoft QuickBasic versions 4.00, 4.00b,
and 4.50, to Microsoft Basic Compiler versions 6.00 and 6.00b, and to
Microsoft Basic Professional Development System (PDS) versions 7.00
and 7.10. Note that Basic PDS also provides MKC$, for the CURRENCY
data type.
Modification Type: |
Minor |
Last Reviewed: |
1/9/2003 |
Keywords: |
KB61332 |
|