'' examples/manual/casting/csign.bas
''
'' Example extracted from the FreeBASIC Manual
'' from topic 'CSIGN'
''
'' See Also: https://www.freebasic.net/wiki/wikka.php?wakka=KeyPgCsign
'' --------

Dim value As UShort = 65535
Print CSign(value)  '' will print -1
