Hi list,
The Firebird/Interbase ibconnection.pp code has this code in its
SetParameters procedure to upload blobs in segments (BlobSegmentSize
property is set to 80 on object creation):
while BlobBytesWritten (BlobSize-BlobSegmentSize) do
begin
isc_put_segment(@FStatus[0],
On Fri, 18 Nov 2011 23:11:14 -0800 (PST) leledumbo
leledumbo_c...@yahoo.co.id wrote
re use of Out parameters
... As stated in the
docs (http://www.freepascal.org/docs-html/ref/refsu57.html): The initial
value of the parameter on function entry is discarded, and should not be
used.
Thanks for the feedback suggestions - looks like either functions as
parameters or using objects are only ways to do this - either makes the
code look horrible more complex that necessary imo cf the normal use of
functions. Surprised this capability hasn't come up before because doesn't
sound
On 11/19/11 11:19 AM, John Lee wrote:
Surprised this capability hasn't come up before because doesn't sound
technically difficult to do.
The need for this capability HAS come up before. That's why the methods
that are available are available. They may appear to be too
complicated but it is
2011/11/19 John Lee johnel...@gmail.com:
Surprised this capability hasn't come up before because doesn't
sound technically difficult to do.
The problem is simply that at the time of compiling the unit all the
function calls within it are already statically resolved and
everything is cast in
On 19-11-2011 13:28, Reinier Olislagers wrote:
Hi list,
The Firebird/Interbase ibconnection.pp code has this code in its
SetParameters procedure to upload blobs in segments (BlobSegmentSize
property is set to 80 on object creation):
while BlobBytesWritten (BlobSize-BlobSegmentSize)
On Sat, 19 Nov 2011, Reinier Olislagers wrote:
Hi list,
The Firebird/Interbase ibconnection.pp code has this code in its
SetParameters procedure to upload blobs in segments (BlobSegmentSize
property is set to 80 on object creation):
while BlobBytesWritten (BlobSize-BlobSegmentSize) do
On Sat, 19 Nov 2011, Reinier Olislagers wrote:
On 19-11-2011 13:28, Reinier Olislagers wrote:
Hi list,
The Firebird/Interbase ibconnection.pp code has this code in its
SetParameters procedure to upload blobs in segments (BlobSegmentSize
property is set to 80 on object creation):
while