1

次のコードを見てください

with text_io;
use text_io;

procedure hello is

begin
put_line("hello");
new_line(3);
end hello;

GPS IDE で [すべてビルド] をクリックすると、このエラーが発生します

gnatmake -d -PC:\Users\yohan\firstprogram.gpr
firstprogram.gpr:1:06: literal string expected
firstprogram.gpr:2:01: "end" expected
gnatmake: "C:\Users\yohan\firstprogram.gpr" processing failed

[2013-04-03 13:29:58] process exited with status 4 (elapsed time: 00.47s)

ご覧のとおり、これは私の最初のプログラムです。助けてください。

4

1 に答える 1