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 the inline modifier make it work without making a function call in the generated code? TIA, Ivan _______________________________________________ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal