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: 22,200
Member
Offline
Member
Joined: Aug 1999
Posts: 22,200
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
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.054s Queries: 15 (0.005s) Memory: 2.4954 MB (Peak: 3.0378 MB) Data Comp: Off Server Time: 2024-04-19 23:49:03 UTC
Valid HTML 5 and Valid CSS