ToUChar()

Auto Hotkey

ToUChar

Convert an integer to unsigned char type.

OutputVar := ToUChar(ByRef IntOrVar)
Command  Example: ToUChar var
Function Example: uchr := ToUChar(-1)

Parameters

OutputVar

The name of the variable in which to store the converted integer.

ByRef IntOrVar

The value to convert, if a variable is passed, converted value will be written to it.

Related

DllCall, DynaCall, #DllImport, WinApi