You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2011/12/02 22:55:56 UTC

DO NOT REPLY [Bug 118645] OOBasic function with array parameter and array return value only works once

https://issues.apache.org/ooo/show_bug.cgi?id=118645

--- Comment #4 from fs876@gmx.de 2011-12-02 21:55:56 UTC ---
Hello,

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
fill
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
context.
Thank you very much for your help.

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.