skip to main content

Library Routines : CBL_NOT

CBL_NOT
The CBL_NOT library routine examines each bit of the operand. If the bit is 1, the corresponding result bit is set to 0. Otherwise, the corresponding result bit is set to 1.
Syntax:
 CALL "CBL_NOT" USING destination 
Parameters:
Return code:
returnCode can be any numeric data item and provides additional information:
Examples:
Example - Get the bit level NOT result of a character
move "3" to char1 *> internal bit representation 00110011
call "cbl_not" using char-result
if return-code = 0
   display message "NOT " char1 " = " char-result

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left