incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 118645] OOBasic function with array parameter and array return value only works once
Date Fri, 02 Dec 2011 21:55:56 GMT

--- Comment #4 from 2011-12-02 21:55:56 UTC ---

thank you for clarifying, that "array" is not a valid type. 
After changing "array" into "variant" everything works now in my real project.
I have rows (or columns) with a variable number of elements (input array) and
produce a fix number of output values (output array) and used Array(...) to
internal arrays with numeric data. I didn't want the overhead, that is required
for "variant" data type. I think, for every access, OOcalc must check
internally, what kind of data is there and handle it appropriately. Since the
kind of data is known (e.g. Integer, String, Double, ...) then "variant" was
not really required.
So I used "array" instead of "variant". (I prefere strict type checking).
Maybe a syntax error should be shown, when a reserved word is used in wrong
Thank you very much for your help.

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

View raw message