Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== CreateBinaryData Function ====== ==== Description ==== This function will create a new variable containing passed data in binary format.. ==== Syntax ==== retval = CreateBinaryData( varType, variable ) ==== Parameters ==== The function has the following parameters: ^Parameter^Description^ |varType|Type of variable you want to insert. This is the same as it is for [[getvalue|GetValue]], [[lockvariable|LockVariable]].| |variable|An existing variable to create binary data from.| |||| ==== See Also ==== [[getbytesize|GetByteSize()]], [[putbinaryvalue|GetBinaryValue()]], [[putbinaryvalue|PutBinaryValue()]] ==== Example ==== <code> declare function CreateBinaryData, GetByteSize existingVar = "data" existingSize = GetByteSize( existingVar ) newVar = CreateBinaryData(UBYTE, existingSize ) : existingVar </code> guides/programming/programmers_reference_manual/createbinarydata.txt Last modified: 2024/06/19 20:20by 127.0.0.1