4D v13.4EXPAND BLOB |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v13.4
EXPAND BLOB
EXPAND BLOB
The EXPAND BLOB command expands the BLOB blob that was previously compressed using the COMPRESS BLOB command. After the call, the OK variable is set to 1 if the BLOB has been expanded. If the expansion could not be performed, the OK variable is set to 0. If the expansion could not be performed because of a lack of memory, no error is generated and the method resumes its execution. To check if a BLOB has been compressed, use the BLOB PROPERTIES command. This example tests if the BLOB vxMyBlob is compressed and, if so, expands it: BLOB PROPERTIES(vxMyBlob;$vlCompressed;$vlExpandedSize;$vlCurrentSize) This example allows you to select a document and then expand it, if it is compressed: $vhDocRef :=Open document("") The OK variable is set to 1 if the BLOB has been successfully expanded, otherwise it is set to 0. |
PROPERTIES
Product: 4D
INDEX HISTORY
Modified: 4D v6.5.3 SEE ALSO TAGS Expansion, Compression*** |
||||||||||||||||||||||||||||||||||||||||||||||||||||||