Data update

This commit is contained in:
Ingy döt Net 2026-02-01 16:33:20 -08:00
parent 5150844a7d
commit 4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions

View file

@ -1,40 +0,0 @@
identification division.
program-id. array-length.
environment division.
configuration section.
repository.
function all intrinsic.
data division.
working-storage section.
01 table-one.
05 str-field pic x(7) occurs 0 to 5 depending on t1.
77 t1 pic 99.
procedure division.
array-length-main.
perform initialize-table
perform display-table-info
goback.
initialize-table.
move 1 to t1
move "apples" to str-field(t1)
add 1 to t1
move "oranges" to str-field(t1).
*> add an extra element and then retract table size
add 1 to t1
move "bananas" to str-field(t1).
subtract 1 from t1
.
display-table-info.
display "Elements: " t1 ", using " length(table-one) " bytes"
display table-one
.
end program array-length.