Hello!
> Hi,
>
> I was wondering if I could do something like this with a macro in FPC:
>
> const HASH_TABLE_MASK = $ff;
> function GetHashIndex ( hash :dword) :integer;
> begin
>result := hash AND HASH_TABLE_MASK;
> end;
>
> it's kind of a helper funcion so I don't want to perform the functio
Hi,
I was wondering if I could do something like this with a macro in FPC:
const HASH_TABLE_MASK = $ff;
function GetHashIndex ( hash :dword) :integer;
begin
result := hash AND HASH_TABLE_MASK;
end;
it's kind of a helper funcion so I don't want to perform the function call
in the
code.
Would t