Coding style

Joe Klemmer klemmerj at webtrek.com
Sat Mar 15 01:18:06 CET 2003


On Fri, 2003-03-14 at 16:28, Olivier Fourdan wrote:

> Now that's a take it or leave it offer. I you don't like that, use
> whatever you want, but don't ask for a standard coding style then.

	My coding style is slightly different.  It goes like this -

IDENTIFICATION DEVISION.
 PROGRAM-ID.  TEN.
ENVIRONMENT DEVISION.
 CONFIGURATION SECTION.
 INPUT-OUTPUT SECTION.
DATA DIVISION.
 FILE SECTION.
 WORKING-STORAGE SECTION.
01  COUNTER			PIC X.
PROCEDURE DIVISION.
 MAIN-0000.
  MOVE 1 TO COUNTER
  PERFORM UNTIL COUNTER = 10
   DISPLAY COUNTER
   ADD 1 TO COUNTER
  END-PERFORM.
 GOBACK.

I just wish there were come COBOL binding for gtk.   ;-)

-- 
Farewell neighbor.  Thank you for giving us a safe place for so many
years.
		Fred Rodgers - 1928-2003




More information about the Xfce4-dev mailing list