Revision [12807]

This is an old revision of KeyPgMki made by JeffMarshall on 2008-04-01 15:46:26.

 

MKI


Does a binary copy from a KeyPgInteger integer variable to a KeyPgString string, setting its length to 4 bytes

Syntax:
Usage:
result = Mki[$]( number )

Parameters:
number
A KeyPgInteger integer variable to binary copy to a KeyPgString string.

Return Value:
Returns a KeyPgString string with a binary copy of the KeyPgInteger integer.

Description:
Does a binary copy from an KeyPgInteger Integer variable to a KeyPgString string, setting its length to 4 bytes. The resulting string can be read back to an KeyPgInteger Integer by KeyPgCvi Cvi
This function is useful to write numeric values to buffers without using a KeyPgType Type definition.

Examples:
Dim a As Integer, b As String
a=4534
b=MKI(a)
Print a, CVI(b)
Sleep


Dialect Differences:
See also:
Back to String Functions
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode