Skip to content

Commit acc42d5

Browse files
authored
Update data-structure-array-with-counter.php
Clarify code comment.
1 parent 028e3a1 commit acc42d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/data-structure-array-with-counter.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
// Multi-occurrence data structure with maximum dimension set to 10000 but whose final output count will be determined by MYCOUNTER. Name the counter whatever you wish.
2222
$param[] = $conn->AddDataStruct($ds, 'MULTDS')
23-
->setParamDimension(10000) // max of 10000 records
23+
->setParamDimension(10000) // if your RPG array has max of 10000 records
2424
->setParamLabelCounted('MYCOUNTER'); // create your own counter name
2525

2626
// COUNTVAR is a counter field. Value is set by RPG/COBOL program. Value will control the number of MULTDS fields that return (see data structure MULTDS below)

0 commit comments

Comments
 (0)