Start Back Next End
  
ZBasic System Library
90
ZBasic Microcontrollers
CStrHex
Type
Function returning String
Invocation
CStrHex(arg)
Parameter
Method
Type
Description
arg
ByVal
numeric
The value to convert to a hexadecimal String.
Discussion
This function converts any Boolean, numeric or enumeration value to a String value.  The content of the
string will be hexadecimal characters that represent the value of the bytes comprising the passed value. 
The number of characters in the string varies depending on the type of the value passed.  See the table
below.
Input Type
Number of Characters
Boolean, Bit, Nibble, Byte
2
Integer, UnsignedInteger, Enum
4
Long, UnsignedLong, Single
8
Compatibility
This function is not available in BasicX compatibility mode.
Previous page Top Next page