Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ParameterDescription
varTypeType of variable you want to insert. This is the same as it is for GetValueLockVariable.
variableAn existing variable to create binary data from.

See also

GetByteSize()GetBinaryValue()PutBinaryValue()

Example

Code Block
declare function CreateBinaryData, GetByteSize
existingVar = "data"
existingSize = GetByteSize( existingVar )
newVar = CreateBinaryData(UBYTE, existingSize ) : existingVar