Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,17 @@
|
|||
identification division.
|
||||
program-id. toptail.
|
||||
|
||||
data division.
|
||||
working-storage section.
|
||||
01 data-field.
|
||||
05 value "[this is a test]".
|
||||
|
||||
procedure division.
|
||||
sample-main.
|
||||
display data-field
|
||||
*> Using reference modification, which is (start-position:length)
|
||||
display data-field(2:)
|
||||
display data-field(1:length of data-field - 1)
|
||||
display data-field(2:length of data-field - 2)
|
||||
goback.
|
||||
end program toptail.
|
||||
Loading…
Add table
Add a link
Reference in a new issue