Explorar o código

instantfpc: example for mode directive

git-svn-id: trunk@17964 -
Mattias Gaertner %!s(int64=14) %!d(string=hai) anos
pai
achega
5ca0871033

+ 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