UniBasic Commands Reference - Rocket Software
UniBasic Commands Reference - Rocket Software UniBasic Commands Reference - Rocket Software
BITOR Syntax BITOR(num.expr1,num.expr2) Description The UniBasic BITOR function performs the bit-wise OR logical function on the arguments num.expr1 and num.expr2. With null value handling on, the result of any mathematical operation, function, or comparison involving the null value is the null value. Therefore, BITOR returns the null value when num.expr1 or num.expr2 is the null value. The following table shows the results of the BITOR function on various sets of input. Example In the following example, the program statement prints a 1: PRINT BITOR(0,1) 1-109 UniBasic Commands Reference num.expr1 num.expr2 Result 0 0 0 0 1 1 1 0 1 1 1 1 3 9 11 23 87 87 BITOR Function Operation Results
BITXOR Syntax BITXOR(num.expr1,num.expr2) Description The UniBasic BITXOR function performs the bit-wise XOR logical function on the arguments num.expr1 and num.expr2. With null value handling on, the result of any mathematical operation, function, or comparison involving the null value is the null value. Therefore, BITXOR returns the null value when num.expr1 or num.expr2 is the null value. The following table shows the results of the BITXOR function on various sets of input. Example In the following example, the program statement prints 1: PRINT BITXOR(0,1) num.expr1 num.expr2 Result 0 0 0 0 1 1 1 0 1 1 1 0 3 9 10 23 87 64 BITXOR Function Operation Results BITXOR 1-110
- Page 56 and 57: @ Syntax @(col.expr [,row.expr]) @(
- Page 58 and 59: 1-63 UniBasic Commands Reference Op
- Page 60 and 61: Examples In the following example,
- Page 62 and 63: [] Syntax 1-67 UniBasic Commands Re
- Page 64 and 65: {} {} is a synonym for the CALCULAT
- Page 66 and 67: Note: You can use the ECL ON.ABORT
- Page 68 and 69: ABS Syntax ABS(expr) Description Th
- Page 70 and 71: Parameter Description 1-76 UniBasic
- Page 72 and 73: ACTIVATEKEY Syntax ACTIVATEKEY , [
- Page 74 and 75: STATUS Code Example 1-80 UniBasic C
- Page 76 and 77: Parameters 1-82 UniBasic Commands R
- Page 78 and 79: Parameter Description format 1 - PE
- Page 80 and 81: 1-86 UniBasic Commands Reference Re
- Page 82 and 83: amInitialize Syntax 1-88 UniBasic C
- Page 84 and 85: amReceiveMsg Syntax amReceiveMsg(hS
- Page 86 and 87: amReceiveRequest Syntax amReceiveRe
- Page 88 and 89: amSendMsg Syntax 1-94 UniBasic Comm
- Page 90 and 91: amSendRequest Syntax amSendRequest(
- Page 92 and 93: amSendResponse Syntax amSendRespons
- Page 94 and 95: amTerminate Syntax amTerminate(hSes
- Page 96 and 97: analyzeCertificate Syntax analyzeCe
- Page 98 and 99: AND Syntax expr1 AND expr2 Synonym
- Page 100 and 101: ASIN Syntax ASIN(expr) Description
- Page 102 and 103: Related Command UniData TERM - For
- Page 104 and 105: BITAND Syntax BITAND(num.expr1,num.
- Page 108 and 109: BPIOCP Syntax BPIOCP Description Th
- Page 110 and 111: BPIOCPN Syntax BPIOCPN Description
- Page 112 and 113: BREAK Syntax BREAK [KEY] {ON | OFF
- Page 114 and 115: BYTELEN Syntax BYTELEN (string) Des
- Page 116 and 117: Example In the following example, t
- Page 118 and 119: Parameters The following table desc
- Page 120 and 121: CALLC Syntax CALLC c.sub.name [(arg
- Page 122 and 123: CASE Syntax BEGIN CASE CASE express
- Page 124 and 125: In the next example, the program se
- Page 126 and 127: Related Commands UniBasic CATS, SPL
- Page 128 and 129: CHAIN Syntax CHAIN "str.expr" Descr
- Page 130 and 131: CHANGE Syntax CHANGE(string, old.su
- Page 132 and 133: CHAR Syntax CHAR(expr) Description
- Page 134 and 135: CHARLEN Syntax CHARLEN (string) Des
- Page 136 and 137: CHECKSUM Syntax CHECKSUM(str.expr)
- Page 138 and 139: Related Commands UniBasic COMMON, C
- Page 140 and 141: UniData DELETECOMMON, STACKCOMMON -
- Page 142 and 143: CLEARFILE Syntax CLEARFILE [file.va
- Page 144 and 145: CLEARINPUT Syntax CLEARINPUT Synony
- Page 146 and 147: UniQuery GET.LIST, SELECT, SSELECT
- Page 148 and 149: CLOSE Syntax CLOSE [file.var] [ON E
- Page 150 and 151: CLOSESEQ Syntax CLOSESEQ seq.file.v
- Page 152 and 153: closeSocket Syntax closeSocket(sock
- Page 154 and 155: COL1 Syntax COL1( ) Description The
BITXOR<br />
Syntax<br />
BITXOR(num.expr1,num.expr2)<br />
Description<br />
The <strong>UniBasic</strong> BITXOR function performs the bit-wise XOR logical function on the<br />
arguments num.expr1 and num.expr2.<br />
With null value handling on, the result of any mathematical operation, function, or<br />
comparison involving the null value is the null value. Therefore, BITXOR returns the<br />
null value when num.expr1 or num.expr2 is the null value.<br />
The following table shows the results of the BITXOR function on various sets of<br />
input.<br />
Example<br />
In the following example, the program statement prints 1:<br />
PRINT BITXOR(0,1)<br />
num.expr1 num.expr2 Result<br />
0 0 0<br />
0 1 1<br />
1 0 1<br />
1 1 0<br />
3 9 10<br />
23 87 64<br />
BITXOR Function Operation Results<br />
BITXOR 1-110