Hi,

are there any known issues with the basic engine in oo 3.0 ?
i tried m23/m25 with same results ...

i have code *similar* to the snippet below, which will filter Named Ranges
of a calc document, for example all Named Ranges starting with "X_XXX" ...
it will return an array of strings, containing the cell ranges ...

debugging the program show's that the array contains bytes instead of string.
mRanges() shows type: String, mX() shows type Byte ...

btw: i can not reproduce the bug with the example below
       no problems with oo 2.4.1 at all...

any hints are welcome
Oliver

REM  *****  BASIC  *****
OPTION EXPLICIT

Sub Main

        Dim mX() as String

        mX() = Test()

'after the call mX() sometimes has Byte Values instead of String !
'for example: mX(0) = "1", mX(0) = "0", ...

        MsgBox mX(0) & " " & mX(1)
End Sub

Function Test() as Variant
        Dim mRanges(100) as String
        mRanges(0) = "1"
        mRanges(1) = "$A$1:$B$10"

' mRanges is a String Typ (correct)
        Test = mRanges()
End Function

--

GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to