1. 第一个例子
program hello;
var
i:integer;
n:integer;
begin
writeln('please input a number:');
readln(n);
for i:=1 to n do
begin
writeln(i, ' : Hi Pascal World !');
end;
end.
Note:
* begin...end. // 后面是"."
* Fatal: compilation aborted // 关闭FP重启OK
2. 几个快捷键
Alt-F5: User screen
F6: next weindow
F9: make
Ctrl-F9: run/continue
F8: step over
F7: trace into
F4: run to cursor
Ctrl-F7: add watch
Ctrl-F8: break point