MK$: Difference between revisions
Jump to navigation
Jump to search
Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link
m (Protected "MK$" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))) |
m (Removed protection from "MK$") |
(No difference)
|
Revision as of 21:53, 1 June 2022
The _MK$ function can convert any numerical type into an ASCII STRING value that can be converted back using _CV.
Syntax
- string_value$ = _MK$(numericalType, numericalValue)
- numericalType is any QB64 numerical type: INTEGER, LONG, SINGLE, DOUBLE, _INTEGER64, _BYTE or _BIT.
- Whole integer values can be signed or _UNSIGNED.
- numericalValue must match the numericalType used.
Description
- Supports converting any QBasic or QB64 numerical value into a string value.
- Some resulting ASCII string characters might not be able to be printed to the screen.
See also
- _CV (QB64 conversion function)
- MKI$, CVI, INTEGER
- MKL$, CVL, LONG
- MKS$, CVS, SINGLE
- MKD$, CVD, DOUBLE
- MKSMBF$, CVSMBF (Microsoft Binary Format)
- MKDMBF$, CVDMBF (Microsoft Binary Format)
- CURRENCY