diff options
| author | Nagi5Yeq <wu@x-nagi.com> | 2020-05-26 00:26:57 +0800 |
|---|---|---|
| committer | Nagi5Yeq <wu@x-nagi.com> | 2020-05-26 00:26:57 +0800 |
| commit | e83990754f49ec6eba7b9e1a5ff80a6add5de3a1 (patch) | |
| tree | 6308b4d0afa5bde2de82e7aa034058302cb1d193 /t | |
| parent | 958a811b18aee04e4795cf003fd8e3db00312c91 (diff) | |
bugfix & test
Diffstat (limited to 't')
| -rw-r--r-- | t/1.pas | 18 |
1 files changed, 5 insertions, 13 deletions
@@ -1,17 +1,9 @@ program a; -VAR - f : integer; - g : real; - h : boolean; - j : integer; -function test(a:integer;b:string):char; -var s1:real; +function test(a:integer;b:char;c:real;):integer; begin - f:=b; - g:=c; - if g<=c then - h:=ture - else - h:=false; + a:=1; + b:='a'; + c:=3.5; + test:=6; end; |
