Skip to content

Optimization possible in CBL0106.cbl #309

Open
@fa573r

Description

@fa573r

Course Details

GitHub

Description

In CBL01016.cbl I've seen somthing that is not as it is recommended.
The table / array 01 OVERLIMIT. is indexed with a separate variable: 05 SUB1 PIC 99..
Recommendation says,that an array should be addressed with e.g. 'indexed by SUB1.'. That normally improves performance (in this case irrelevant). Cause this is an educational site, students should be shown how to do it right and not how it was done in the beginning of COBOL.

Reproduction Steps

...

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions