-
Declaration:
- Function Ofs (Var X) : Longint;
-
Description:
- Ofs returns the offset of the address of a variable. This function is only supported for
compatibility. In Free Pascal, it returns always the complete address of the variable, since
Free Pascal is a 32 bit compiler.
-
Errors:
- None.
-
See also:
- DSeg (481), CSeg (476), Seg (564), Ptr (546)
Listing: refex/ex44.pp