guides:programming:programmers_reference_manual:createbinarydata

CreateBinaryData Function

This function will create a new variable containing passed data in binary format..

retval = CreateBinaryData( varType, variable )

The function has the following parameters:

ParameterDescription
varTypeType of variable you want to insert. This is the same as it is for GetValue, LockVariable.
variableAn existing variable to create binary data from.
declare function CreateBinaryData, GetByteSize

existingVar = "data"

existingSize = GetByteSize( existingVar )

newVar = CreateBinaryData(UBYTE, existingSize ) : existingVar
 
 
 
 
  • guides/programming/programmers_reference_manual/createbinarydata.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1