Shopping Cart My Cart Account Log In Walkthrough IDE Integrations Contact Partner  
Polystyle
The Elegant, Intelligent Source Code Formatter

Click Here To Download A Free Trial!
C/C++   PerlPascal/Delphi
C#   CSSCMAC
Java Javascript   PHP 
JSP HTMLPython
ASP Visual BasicActionscript
Home Features Documentation Buy Polystyle Download  
Step 1: Unformatted Java Source

  • Overall CMAC Features
  • Step 1: Unformatted Source
  • Step 2: Example Source
  • Step 3: Formatted Source

    Let's start with a real life source file which we'll reformat in the Whitesmith style:


    str oct_str ( int decval) no_break
    {
      int temp;
      str octl[3];
    
      temp = decval;
      octl = "";
      while (temp > 8)
      {
          octl =  str(temp % 8) + octl;
          temp = temp / 8;
      };
    
      if (temp == 8)
          octl = "10" + octl ;
      else
          octl =  str(temp % 8) + octl;
    
      return (octl);
    }
    

    Next, in Step 2 we'll look at our example source which defines our style.

  • Home Features Documentation Buy Polystyle Download  

    Click Here To Download A Free Trial!

    Copyright © Flashbulb Studios. All rights reserved.