Arrays in progress error

tjsingh

Member
Hi

I am developing in character based progress.

I am working on a program and have come across an error.

Its a report which currently has 15 machines under which there are lots of differnt calculations. Arrays have been used. When i started to increase the extent of the variables it got to its limit which prodcued the following error:

A frame segment has exceeded its limit of 32767 in at line 534 (3307)

Any ideas?

cheers tj
 
This normally happens when you are trying to display too much in a single frame.

Try splitting things up into more than one frame statement.

define frame fr_test
var1 label "Variable 1" skip
var2 label "Variable 2" skip
var3 label "Variable 3" skip.


define frame fr_test
var4 label "Variable 4" skip
var5 label "Variable 5" skip
var6 label "Variable 6" skip.

etc.

Or, as you are using arrays, try:

define frame fr_test
var1[1] label "1" skip
var1[2] label "2" skip
var1[3] label "3" skip
var1[4] label "4" skip
var1[5] label "5" skip.

define frame fr_test
var1[6] label "6" skip
var1[7] label "7" skip
var1[8] label "8" skip
var1[9] label "9" skip
var1[10] label "10" skip.

etc.

It's a bit clunky in that you have to secify the array variables one at a time, but it should work.
 
Back
Top