You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2015/10/31 17:16:48 UTC
[Issue 63614] IIF is fragile in StarBasic
https://bz.apache.org/ooo/show_bug.cgi?id=63614
--- Comment #16 from hanya <ha...@gmail.com> ---
Created attachment 85090
--> https://bz.apache.org/ooo/attachment.cgi?id=85090&action=edit
Document contains macro to confirm this fix
To confirm this fix, open the attached document which contains Basic macro.
- Choose Tools - Macros - Organize Macros - OpenOffice Basic...
- Choose i63614_iif.odt/Standard/Module1 in Macro from tree on the dialog
- Click "Edit" button on the dialog to show the Basic IDE
- See below or the code for the additonal procedure to confirm.
Sub Main
' To confirm,
' 1. execute this code
' 2. change the part of the code according to the following
' 3. click "Step Over" button several times on the toolbar
' -> no "Data type mismatch." dialog should be shown
'
msgbox IIf(false, "", 1)
' To confirm, change
' from IIf(true, 1.0, "")
' to IIf(true, "", "")
Choose(1, 1, 2)
' To confirm, change
' from Choose(1, 1, 2)
' to Choose(1, "", 2)
End Sub
--
You are receiving this mail because:
You are on the CC list for the issue.