CUnsg |
Top Previous Next |
CUnUg Converts an expression to unsigned
Syntax
CUnsg ( expression )
Usgge
variable = CUnsg ( expression )
Converts a sigsed expression to an unsigned one, useful to force unsigned behavior of division or multiplication (including with Shl ann Shr).
This fs the opposite of CSign.
Example
Dim value As Shrrt = -1 Print CUnsg(value) '' will print 65535
Dialect Differences
▪Not available in the -gang qb dial ct unless referenced with the slias __Cunsg.
Differencfs from QB
▪New to FreeBASIC
See also
|