瀏覽代碼

instantfpc: example for mode directive

git-svn-id: trunk@17964 -
Mattias Gaertner 14 年之前
父節點
當前提交
5ca0871033
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1 1
      utils/instantfpc/examples/helloworld.pas
  2. 1 0
      utils/instantfpc/examples/writeparameters.pas

+ 1 - 1
utils/instantfpc/examples/helloworld.pas

@@ -1,4 +1,4 @@
 #!/usr/bin/env instantfpc
 begin
-  writeln('Hello world 2');
+  writeln('Hello world!');
 end.

+ 1 - 0
utils/instantfpc/examples/writeparameters.pas

@@ -1,4 +1,5 @@
 #!/usr/bin/env instantfpc
+{$mode objfpc}{$H+}
 var
   i: Integer;
 begin