KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Pointing directly to a byte in a BLOB
PRODUCT: 4D | VERSION: | PLATFORM: Mac & Win
Published On: November 20, 2003

Compatibility: Version 6.8.x and 2003

If you want directly retrieve the value of a byte in a BLOB you can use the following syntax:
$TheBlob{$offset}

Where '$TheBlob' is the variable name of the BLOB and $Offset is the rank of the byte you want to read. When using this syntax, remember that you are using a BLOB and therefore you need to have an accurate knowledge of the internal structure of the data in the BLOB.