Print Thread
Beautifier - Change on FOR loop formatting
#63689 03/25/22 09:15 AM
Joined: Jan 2003
Posts: 88
A
andyh Offline OP
Member
OP Offline
Member
A
Joined: Jan 2003
Posts: 88
In 14 I see:

SQL Query
DECLARE
  l_val NUMBER;
BEGIN
  l_val := least(1000
                ,coalesce(2999
                         ,0));
  FOR l_idx IN l_hash .. least(1000
                              ,coalesce(2999
                                       ,0)) LOOP
  
    NULL;
  END LOOP;
END;

in 15 2457 I see:

SQL Query
DECLARE
  l_val NUMBER;
BEGIN
  l_val := least(1000
                ,coalesce(2999
                         ,0));
  FOR l_idx IN l_hash .. least(1000, coalesce(2999, 0)) LOOP
  
    NULL;
  END LOOP;
END;

Attached Files
Screenshot 15.png (6.37 KB, 21 downloads)
Screenshot 14.png (6.44 KB, 21 downloads)

Andy
Re: Beautifier - Change on FOR loop formatting
andyh #63692 03/25/22 09:44 AM
Joined: Aug 1999
Posts: 22,175
Member
Offline
Member
Joined: Aug 1999
Posts: 22,175
We'll check it out.


Marco Kalter
Allround Automations

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.025s Queries: 16 (0.005s) Memory: 2.4972 MB (Peak: 3.0377 MB) Data Comp: Off Server Time: 2024-03-29 12:36:13 UTC
Valid HTML 5 and Valid CSS