view indenters/example.sql @ 717:408b4e761f98

Added support for the indenters VB Beautifier and Ps/Sql tidy. Thus VB script and Pl/Sql are supported languages. git-svn-id: svn://svn.code.sf.net/p/universalindent/code/trunk@988 59b1889a-e5ac-428c-b0c7-476e01d41282
author thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
date Fri, 21 Aug 2009 09:44:29 +0000
parents
children
line wrap: on
line source

CREATE PACKAGE BODY b IS

PROCEDURE proc1 IS
BEGIN
IF 7 <> 5 THEN
FOR rec IN (SELECT * FROM dual
                  WHERE g = 5) LOOP
NULL;
END LOOP;
    END IF;
END;
  
PROCEDURE recurse IS
   b number:=5;
   d456 number:=456;
BEGIN
    recurse;
    proc1;
    a := (a +        1
          +4
          + 5
          + 8);
    c := f + 4 + 34;
    total := earth +sky;
    
    --this is comment
    
    uk:=h;
    g:=l;
           exception
           when no_data then
           hello;
  END;
  
  BEGIN
    NULL;
END;