Whenever I type a "|" (vertical bar) in source editor, the Delphi IDE starts to hang.
I tried to add the "|" in my source code via notepad before opening my project with Delphi then it seems that the IDE is hanging while opening the project.
Example 1 (This will work):
procedure TForm8.FormCreate(Sender: TObject);
begin
if 1 = 1 then
ShowMessage('True');
end;
Example 2 (This will not work):
procedure TForm8.FormCreate(Sender: TObject);
begin
if 1 = 1 then || "1" = "1" then //Whenever I start typing the "|", the IDE starts to hang.
ShowMessage('True');
end;
Note: The Delphi IDE is not hanging with my project after I removed the "|" (vertical bar) in my source code through notepad (before opening the project with Delphi).
or
, as inif (1 = 1) or ("1" = "1") then
. – Melitta