On 10/18/06, Leopold Toetsch <[EMAIL PROTECTED]> wrote:

IMHO the only way to get rid of this historical confusion is:

- disable the set opcode for arrays by throwing an exception in the vtable
- use elements for getting .elems only
- implement 2 new opcodes
  elements P0, I0    # fill with default value, set element count to I0
  presize  P0, I0    # allocate storage, elem count is unchanged
- implement an introspection method to get various info like allocated
size or
storage needed


I totally agree.

Karl

Reply via email to