[fpc-pascal]Compiler error messages GO32V2

Lubomir.Cabla at cssz.cz Lubomir.Cabla at cssz.cz
Mon Apr 5 09:46:54 CEST 2004


Hi,

i have a problem to compile the following some rows...

uses crt;
var NoOfColumns : word;
    StatusLine,s : string;
begin
  NoOfColumns:=24;
  StatusLine:='ESC';
  s:='Press any key...';
  gotoXY((NoOfColumns div 2)-(Length(StatusLine+': '+s) div 2), 2);
end.

With version 1.9.3. (now i tried version from 5.4.2004 also)
i always got a compiler error (in IDE)

"Asm [mov reg8,???] invalid combination of opcode and operands"

Second,

if i got any compiler error message (also in IDE) in one program
and then i try to compile the another one with command New() (as this)

type px = ^pt;
     pt = record a:byte; b:word; end;
var pp : px;
begin
  New(pp);
end.

i always got a error message

"Type identifier expected"

Normally if i compile this program as first one it is O.K.

What i'm doing wrong ?

All is done in GO32V2 for DOS in IDE.

Lubomir Cabla/CBL




More information about the fpc-pascal mailing list