Subj : enumerate methods To : Deuce From : Angus McLeod Date : Sat Feb 09 2008 08:12 pm Re: enumerate methods By: Deuce to Angus McLeod on Sat Feb 09 2008 11:53:00 > > > function writeln(str) > > > { > > write(str + "\n"); > > > } > > > > Why do people redefine writeln() ??? It is already defined, not so? > > It's a recent addition to the console object... possible the same can be sai > for jsexec or something. Not sure. Ah! I see. Legacy code. ENVIRONMENT DIVISION. INPUT-OUTPUT SECTION. FILE-CONTROL. SELECT InputFile ASSIGN TO "USER.DAT" ORGANIZATION IS LINE SEQUENTIAL. SELECT WorkFile ASSIGN TO "WORK.TMP". DATA DIVISION. FILE SECTION. FD StudentFile. 01 StudentDetails 02 UserId PIC 9(7). 02 UserName. 03 Surname PIC X(8). 03 Initials PIC XX. 02 DateOfBirth. 03 YOBirth PIC 9(4). 03 MOBirth PIC 9(2). 03 DOBirth PIC 9(2). 02 UsageCode PIC X(4). 02 Gender PIC X. . . . . . . :-) --- Playing: "The child is gone" by "Fiona Apple" from the "Tidal" album. þ Synchronet þ Making sure Jason works OK at The ANJO BBS .