Print Thread
"Then" keywords removed
#64003 06/16/22 12:08 PM
Joined: Jun 2022
Posts: 1
F
Member
OP Offline
Member
F
Joined: Jun 2022
Posts: 1
I was working in a package body around 5000 lines long when suddenly every instance of "then" disappeared. This caused all my if statements to break.
The last thing I did was copy/cut a function and move it to another place in the file. I compiled, and then started getting errors for all my control statements. It also removed the "Then" keywords from switches.

Any idea what could have happened? I don't see any beautifier settings that would remove "then"s. Would seem silly for that to even exist if it breaks the code.
Also, I was compiling fine all day without this happening. It suddenly happened and I didn't change any settings.

Re: "Then" keywords removed
FoppyOmega #64006 06/17/22 09:09 AM
Joined: Aug 1999
Posts: 21,665
Member
Offline
Member
Joined: Aug 1999
Posts: 21,665
There is no function to remove all "then" occurrences in an editor, other than a "find & replace" operation.


Marco Kalter
Allround Automations

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4