Far
Deutsch ยท English
Back to Reserved words.
The reserved word far :
- belongs to 16 bit programming (DOS, Windows 3.x);
- allows subroutines to be started in memory areas beyond the 64KB limit;
- allows DLLs to be jumped to in memory areas beyond the 64KB limit;
- became obsolete with 32-bit programming.
Examples:
//procedures
procedure subTest; far;
begin
end;
function fHandler: boolean; far;
begin
fHandler:= true;
end;
//types
type
PFarChar = ^char; far;
//vars
var
prcf: Procedure; far;From the Free Pascal wiki, page "Far", as the Internet Archive kept it on 2026-01-31, last changed on 2022-10-22. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.