Jonas Maebe 21 lat temu
rodzic
commit
726b980f38
2 zmienionych plików z 49 dodań i 0 usunięć
  1. 19 0
      tests/webtbs/tw3104.pp
  2. 30 0
      tests/webtbs/uw3103.pp

+ 19 - 0
tests/webtbs/tw3104.pp

@@ -0,0 +1,19 @@
+unit tw3104;
+
+interface
+
+implementation
+
+{$S-}
+procedure MizExitProc;
+begin
+end;
+{$S+}
+
+procedure InitExitProc;
+begin end;
+
+begin
+end.
+
+

+ 30 - 0
tests/webtbs/uw3103.pp

@@ -0,0 +1,30 @@
+unit uw3103;
+
+interface
+
+const MaxArt = 2000;
+
+type
+   WordArr = array[1..MaxArt] of word;
+
+var 
+   RefList  : array[1..MaxArt] of string;
+   Theorems : array[- 1..MaxArt,1..2] of byte;
+
+implementation
+
+procedure P;
+var  lThNbr : WordArr;
+     sArr   : array[- 1..MaxArt] of Integer;
+     pctTh  : array[- 1..MaxArt] of real;
+     k   : integer;
+     lThArr : array[- 1..MaxArt] of Integer;
+ begin
+    sArr[k] := k;
+    if RefList[k] = 'A' then lThArr[- 1] := lThNbr[k];
+    pctTh[k] := Theorems[k,1];
+  end;
+
+begin
+end.
+