Compiler error on INPUT/DISPLAY ARRAY with 2-dimensional array

wh <[email protected]>
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <[email protected]>
Hello,

I have a pice of code that uses 2-dimensional arrays with INPUT/DISPLAY 
ARRAY, here a minimal example:
>>> 
main
define la_x array[5,50] of record a char(3), b char(10) end record
define lv_idx integer
let lv_idx = 1
let la_x[lv_idx, 1].a = "a1"
let la_x[lv_idx, 1].b = "b1"
open window w at 1,1 with form "f1"
call set_count(10)
display array la_x[lv_idx] to s.*
close window w
end main
<<<

form:
>>> 
database formonly
screen
{
[a |b      ]
[a |b      ]
[a |b      ]
[a |b      ]
[a |b      ]
[a |b      ]
[a |b      ]
[a |b      ]
[a |b      ]
[a |b      ]
}

attributes
a = formonly.a;
b = formonly.b;

instructions
screen record s[10] (a,b);
<<<

this compiles and runs on 4JS BDL (can't test with "real" I4GL), but 
throws a compiler error on aubit:

[...]
open window w at 1,1 with form "f1"
call set_count(10)
display array la_x[lv_idx] to s.*
close window w
|___________^
| Error at line 10, character 13
| Variable cannot be used for an DISPLAY ARRAY (close)
end main
[...]



------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.