[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using Blob in Gambas 3.20


Il 22/01/25 17:59, T Lee Davidson ha scritto:
On 1/22/25 10:48 AM, Safiur Rahman wrote:
Hi

I have upgraded to Gambas 3.20. The wiki says
The Blob class has been removed. Blob fields are now accessed exactly
like string fields.
(https://gambaswiki.org/wiki/comp/gb.db2 <https://gambaswiki.org/wiki/
comp/gb.db2>)

I have been using Blob as

Dim hFile As Blob

hFile = res["fldimage"]
If hFile.Length Then
   File.Save(tempFile, hFile.Data)
Endif

Can you provide a procedure which allows me to use Blob in gambas 3.20
without replacing Blob present in around a hundred locations?

--
Regards
Safiur Rahman

I don't currently have a working Gambas 3.20, so I can't test this. But
if Blob is now an unknown symbol (in v3.20), then you should be able to
create your own Blob class.



Can this be useful?
https://lists.gambas-basic.org/archive/user/2024-08/0000128.html

Regards
Gianluigi


References:
Using Blob in Gambas 3.20Safiur Rahman <isafiur@xxxxxxxxx>
Re: Using Blob in Gambas 3.20T Lee Davidson <t.lee.davidson@xxxxxxxxx>