Menu

z80 compiler error

Help
2009-03-19
2013-05-03
  • arximidis xeno

    arximidis xeno - 2009-03-19

    Hello!

    I compiled your program at windows with Lazarus and everything went ok

    When I am writing a simple program like this:

    program test;
    begin
    end.

    and compile it, I get no errors! The asm file is generated

    But when I am writing the code

    program test;
      var i:integer;
    begin
      i:=0;
    end.

    or

    program test;
      var i:integer;
    begin

    end.

    I get the following error:

    'BEGIN' expected but 'VAR' found

    What I am doing wrong?

     
  • Guillermo Martínez Jiménez

    Hi arximidis. Sorry for the hiatus but I was too busy last months so I can't work on the project.

    About your question, I think you didn't read the user manual. As I said in that manual, Z80-Pascal is in a very early development state and currently it can't compile complete Pascal programs. It can compile **only** empty Pascal programs or embeded Z80-Assembler programs. I know it's useless but current version is the result of few days of work.

    I want to follow the development of this compiler next month.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.