MK$: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:




{{Parameters}}
{{PageParameters}}
* {{Parameter|numericalType}} is any QB64 numerical type: [[INTEGER]], [[LONG]], [[SINGLE]], [[DOUBLE]], [[_INTEGER64]], [[_BYTE]] or [[_BIT]].
* {{Parameter|numericalType}} is any QB64 numerical type: [[INTEGER]], [[LONG]], [[SINGLE]], [[DOUBLE]], [[_INTEGER64]], [[_BYTE]] or [[_BIT]].
* Whole integer values can be signed or [[_UNSIGNED]].
* Whole integer values can be signed or [[_UNSIGNED]].

Revision as of 02:07, 24 January 2023

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)


Parameters


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



Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link