[Lazarus] Passing a section of an array to a function.
dgcoventry at gmail.com
Mon Sep 10 08:36:41 CEST 2012
I have an array of Byte which I have loaded from a file.
I want to process a 100 byte section of the array which starts at
offset 32 in my array.
My function (or procedure) is as follows:
procedure decompress_r(cbuf: array of byte);
if (cbufand $F0)=$20 then
I call my procedure by
It seems to work. the first element in the array is 0x20, but the rest
of the array is garbage.
The array sent is:
The array received is
Can anyone tell me the correct way to pass the portion of the array to
More information about the Lazarus