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
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 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-BlobSegmentS
2011/11/19 John Lee :
> 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 concrete. Pascal is a
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
> It seems a bit drastic to me to discard the existence of the dynamic array
as well as the (non-existent) values stored in it! Presumably, all will be
well
if I size the array inside the initializing routine, breaking my rule that
the
routine that makes the array must also contain the code to g
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 t
On Fri, 18 Nov 2011 23:11:14 -0800 (PST) leledumbo
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." which is why you get 0
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],