Apache OpenOffice (AOO) Bugzilla – Issue 76566
vba compataibilty: syntax error compiling (parsing?) nested IF statements
Last modified: 2017-05-20 11:27:45 UTC
Found in NeoOffice 2.1, Patch 1 (which I assume uses OOO 2.1: The following BASIC code generates syntax errors in Neo, but not in Excel. If Len(str) > 1 Then If 2 = 1 Then str = Left(str, 2) Else str = Right(str, 2) Else strTmp = Space(4 - Len(str))
interesting code :-) You may want to use a ':' to separate the staments.
But, the : separator does not work properly in IF statements, either. (See my other bugs.)
Then If 2 = 1 ?? Maybe you can place a working example, just to be sure.
It's a compile error. How the code executes isn't relevant at this point.
Sorry, this is not clear and sound. Close as invalid
another one to track as some vba compatible syntax
.
STARTED
set target to 3.x according to http://wiki.services.openoffice.org/wiki/Target_3x
Reset assigne to the default "issues@openoffice.apache.org".