mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-24 18:49:59 +01:00
codetools: copy is a function, not a procedure (bug #11038)
git-svn-id: trunk@14716 -
This commit is contained in:
parent
9081581c3b
commit
9f9ab8fcfb
@ -958,7 +958,7 @@ var
|
||||
begin
|
||||
if Context.Node.Desc in AllPascalStatements then begin
|
||||
AddCompilerProcedure('SetLength','array of type; NewLength: integer');
|
||||
AddCompilerProcedure('Copy','const s: string; FromPosition, Count: integer');
|
||||
AddCompilerFunction('Copy','const s: string; FromPosition, Count: integer', 'string');
|
||||
AddCompilerProcedure('Write','Args : Arguments');
|
||||
AddCompilerProcedure('WriteLn','Args : Arguments');
|
||||
AddCompilerProcedure('Read','');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user