[fpc-pascal]absolute

2cz 2cz at seznam.cz
Thu Nov 6 00:48:16 CET 2003


in school we use a BPTP 7, but at home i use FPC. And now i have a problem 
with videoram.
 here is a problem source part:

program iksko;
uses crt, dos;
const t=3;
type hodi_se=record
xx,xy:integer;
end;
taky_se_hodi=array[1..t] of hodi_se;
var had:taky_se_hodi;
sy,sx,u:integer;
M: array[1..25,1..80] of
record znak:char; attr:byte end
absolute $B800:0;
a:char;

begin
..

 and when i try to compile i get this :
had.pp(12,15) Error: absolute can only be associated with a var or const
had.pp(12,15) Fatal: Syntax error, ; expected but : found

in BPTP is this right. what shall i do? 

2cz (newbie)
2cz at seznam.cz





More information about the fpc-pascal mailing list