Article

From:
To:
Jacques Melancon
Subject:
Re: Cardinality of a set
Newsgroup:
borland.public.delphi.objectpascal

Re: Cardinality of a set

<<Jacques:
I would call your function like this:

Cardin := Card( Digits, sizeof(TDigits) ); or Cardin := Card( Digits, 2 );
Which means that size is the size in bytes (not in bits) occupied by the variable. >>

The first call format is right, never the second! And yes, the size is in
bytes. There are no part-byte asddresses on the x86 architecture!

    PhR
FYI: Click here to see how many newsgroups are indexed
 
 
Originally created by
Tamarack Associates
Tue, 26 Nov 2024 11:36:44 UTC
Copyright © 2009-2024
HREF Tools Corp.