Optimization / Optimize your programs |
DEFINE my_array ARRAY[100,50] OF RECORD id CHAR(200), comment1 CHAR(2000), comment2 CHAR(2000) END RECORD
If possible, replace such static arrays with dynamic arrays:
DEFINE my_array DYNAMIC ARRAY OF RECORD id CHAR(200), comment1 CHAR(2000), comment2 CHAR(2000) END RECORD
However, be aware that dynamic arrays have a slightly different behavior than static arrays.