|
|
|
UInt8 num
outputs a 8 bit unsigned integer whose value is num with its fractional part truncated. This is mainly interesting when writing to binary files or defining a Struct and then writing that to a binary file.
Examples:
show UInt8 255 ;255 show UInt8 256 ; uint8 doesn't like 256 as input show UInt8 0 ;0 show UInt8 -1 ; uint8 doesn't like -1 as input show UInt8 [1.2 -1.2 1.9 -1.9] ; uint8 doesn't like -1.2 as input show UInt8 {1.2 -1.2 1.9 -1.9} ; uint8 doesn't like -1.2 as input |
|
|
|