Browse Source

* System() function scope problem

peter 21 years ago
parent
commit
0f15bfeb7c
2 changed files with 20 additions and 0 deletions
  1. 7 0
      tests/webtbs/tw2984.pp
  2. 13 0
      tests/webtbs/uw2984.pp

+ 7 - 0
tests/webtbs/tw2984.pp

@@ -0,0 +1,7 @@
+uses
+  uw2984;
+
+begin
+  uw2984.System('test');
+end.
+

+ 13 - 0
tests/webtbs/uw2984.pp

@@ -0,0 +1,13 @@
+unit uw2984;
+interface
+
+procedure System(const s:string);
+
+implementation
+
+procedure System(const s:string);
+begin
+  writeln(s);
+end;
+
+end.