You are not logged in.

#1 2008-03-28 01:23:20

chilebiker
Member
From: Zurich, Switzerland
Registered: 2006-07-18
Posts: 161

OpenOffice 2.4 macro error

All for-loops in my macros (written in OpenOffice-basic) trigger an error message:

  ' clear input fields
  For i = 0 To 10
    Select Case i
    Case 0, 6, 7, 8, 9, 10:
      oCtl(i).EffectiveValue = 0
      oCtl(i).Text = ""
    Case 1, 2, 5:
      oCtl(i).Value = 0
    Case 3, 4:
      oCtl(i).Text = ""
    End Select
  Next i

In the above snippet, the error occurs on the last instruction (Next i, loopcounter is 0).

Downgrading back to version 2.3.1-1 and everything is back to normal.


Don't panic!

Offline

#2 2008-03-28 05:16:51

tesjo
Member
Registered: 2007-11-30
Posts: 164

Re: OpenOffice 2.4 macro error

I'm not sure if it is related but I get errors trying to use ooolatex in 2.4, works fine in 2.3

Offline

Board footer

Powered by FluxBB