codetools: code completion compiler function Ord

git-svn-id: trunk@46961 -
This commit is contained in:
mattias 2014-11-22 10:57:47 +00:00
parent eb43af9a27
commit 2daf3e1e32

View File

@ -8283,7 +8283,8 @@ begin
DebugLn('NOTE: unimplemented Low(type) type=',ParamNode.DescAsString);
end;
end
else if (CompareIdentifiers(IdentPos,'LENGTH')=0) then
else if (CompareIdentifiers(IdentPos,'LENGTH')=0)
or (CompareIdentifiers(IdentPos,'ORD')=0) then
begin
if ParamList.Count<>1 then exit;
Result.Desc:=xtConstOrdInteger;