Binary Type ("M" Reference)
[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]
The Binary type encompasses any sequence of binary octets with the format shown in the Code Example section.
Operators
The unary operator in the following table takes Binary as a right operand.
Operator | Return |
---|---|
~ |
Binary |
The binary operators in the following table take Binary as a left operand.
Operator | Right Operand | Return |
---|---|---|
<<, >> |
Integer |
Binary |
==, != |
Logical |
Logical |
&, |, ^ |
Binary |
Binary |
Code Example
The following code shows the Memory
field being declared as a Binary type and receiving the value 0xA254C3.
Memory : Binary = 0xA254C3;