Hi all,
I last used Pascal in school a long long time ago. Just discovered Free Pascal.
I have the following:
type
TNonceBytes = array[1..8] of byte;
TNonce = class
private
pn: TNonceBytes;
filled: boolean;
public
constructor create; overload;
On Wed, Jan 20, 2016 at 11:22:20AM +0100, Michael Van Canneyt wrote:
> The whole memory area used by an instance of a class is zeroed out.
>
> a TNonce instance is allocated on the heap. All classes are allocated on the
> heap.
> TNonceBytes as a fixed-length array is part of the memory allocated
On Wed, Jan 20, 2016 at 11:23:27AM +0100, Sven Barth wrote:
> Note: "overload" is only necessary if you have multiple methods of the same
> name with different parameters. What you probably meant is "override", but
> even that is only necessary if a method in the parent was declared as
> "virtual".