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 Tue, 29 Nov 2011 19:44:36 GMT

bmarcelly <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #2 from bmarcelly <> 2011-11-29 19:44:36 UTC ---
Before creating a bug report, you should have asked for advice in a forum like 

The function ret_array() works because it is designed to fill 3 cells on one
row. Then the returned value should be an array with indexes : 1 to 3, 1 to 1.
You are lucky that it works for an array with only one index.

The function reverse_Array() has an incorrect definition : array is not a
OOoBasic type. But this is not the problem.
You want that a single matrix function work on the whole rectangle of values to
produce a rectangle of results; then the function must return an array of data
with the same dimensions.
In the next attachment I have created function revlines() that works correctly.

I also have created function npower234() that works on the whole list of values
n to produce a rectangle of results n2, n3, n4.

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

View raw message