binaryvalue(
DATA
)

The binaryvalue( function converts binary data (a byte, word, longword, or longlongword) into a number (see Binary Data).


Parameters

This function has one parameter:

data – is the binary value that you want to convert into a number. This value must be a byte, a word (2 bytes), a longword (4 bytes) or a longlongword (8 bytes).


Description

This function converts binary data (a byte, word, longword, or longlongword) into a number (see Binary Data).

binaryvalue(word(987)) ☞ 987

Error Messages

binaryvalue( function data parameter must be a byte (8 bits), word (16 bits), longword (32 bits) or longlongword (64 bits). – This function does not work with arbitrary binary data, only data of the specified lengths.


See Also


History

VersionStatusNotes
10.0UpdatedCarried over from Panorama 6.0, but now also supports 64 bit binary values.