https://bugs.documentfoundation.org/show_bug.cgi?id=149151
Rafael Lima <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #1 from Rafael Lima <[email protected]> --- I can reproduce the error in LO 7.3. I also tried the following variation: Sub TestA Dim i as Long, arr, a, b i = 0 a = Array() b = Array(0) arr = Iif(i = 0, a, b) End Sub Which returned the error "Inadmissible value or data type. Index out of defined range." This does not seem to make sense since we're not trying to access internal data of the array. This issue has something to do with the Array object. The following code runs without issues: Sub TestB Dim i as Long, arr, a, b i = 0 a = 3 b = 4 arr = Iif(i = 0, a, b) End Sub System info: Version: 7.3.3.2 / LibreOffice Community Build ID: 30(Build:2) CPU threads: 12; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb) Locale: pt-BR (pt_BR.UTF-8); UI: en-US Ubuntu package version: 1:7.3.3~rc2-0ubuntu0.21.10.1~lo1 Calc: threaded -- You are receiving this mail because: You are the assignee for the bug.
