You are not logged in.
Pages: 1
Latest build (Delphi 10.3.3): [dcc32 Error] SynCommons.pas(60010): E2125 EXCEPT or FINALLY expected
function TRawUTF8List.IndexOfObject(aObject: TObject): PtrInt;
begin
if (self<>nil) and (fObjects<>nil) then begin
fSafe.Lock;
try
result := PtrUIntScanIndex(pointer(fObjects),fCount,PtrUInt(aObject)) else <---error [dcc32 Error] SynCommons.pas(60010): E2125 EXCEPT or FINALLY expected
result := -1;
finally
fSafe.UnLock;
end;
end;
end;
Offline
Yes, some keyboard typo just before commit!
Please check https://synopse.info/fossil/info/ba1a1803d4
Offline
Now it misses a ';' for the end for the try-finally block.
Offline
Many thanks! Great work and support!
Offline
Pages: 1