|
GetSign | ||
Result = GetSign(Value) | ||
Parameters: Value = The value to test |
||
Returns: Result |
||
GetSign returns the sign bit from a given integer value. Therefore, if the value is negative (Has it's High Bit set) it'll return 1, otherwise it'll returns 0. Mini Tutorial: Showing the use of the GetSign function
This example would output.
|
Related Info: | And | Neg | TestBit : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |