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".