mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-03 22:20:17 +02:00
codetools: fixed code completion example
git-svn-id: trunk@13504 -
This commit is contained in:
parent
b883a482c5
commit
25984ff7aa
@ -57,7 +57,8 @@ begin
|
||||
X:=3;
|
||||
Y:=41;
|
||||
TopLine:=20;
|
||||
|
||||
Filename:=ExpandFileName('scanexamples'+PathDelim+'completion1.pas');
|
||||
|
||||
if (ParamCount>=3) then begin
|
||||
Filename:=ExpandFileName(ParamStr(1));
|
||||
X:=StrToInt(ParamStr(2));
|
||||
@ -79,7 +80,7 @@ begin
|
||||
end;
|
||||
except
|
||||
on E: Exception do begin
|
||||
writeln(E.Message);
|
||||
writeln('EXCEPTION: '+E.Message);
|
||||
end;
|
||||
end;
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user