소스 검색

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