incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
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
https://issues.apache.org/ooo/show_bug.cgi?id=118645

bmarcelly <bmarcelly@openoffice.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bmarcelly@openoffice.org

--- Comment #2 from bmarcelly <bmarcelly@openoffice.org> 2011-11-29 19:44:36 UTC ---
Before creating a bug report, you should have asked for advice in a forum like
http://user.services.openoffice.org/en/forum/ 

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: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Mime
View raw message