Issue 63988 - StarBasic's IsMissing fails on multiple missing Variables if called by (,)
Summary: StarBasic's IsMissing fails on multiple missing Variables if called by (,)
Status: ACCEPTED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P5 (lowest) Trivial
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-04 18:42 UTC by b.osi.ooo
Modified: 2017-05-20 11:27 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description b.osi.ooo 2006-04-04 18:42:09 UTC
inspiration from issue i30500

Start StarBasic-IDE.
Create a Modul.
Paste this code into it and run it.

-----------------------------8<----------------------------
Sub Main
ASubroutine(,)
End Sub

Sub ASubroutine(Optional vOpt1 as integer, Optional vOpt2 as integer)
MsgBox IsMissing(vOpt2)
MsgBox IsMissing(vOpt1)
End Sub
-----------------------------8<---------------------------- 

The second MsgBox-Call incorrectly returns False.
A workaround is to use the call ASubroutine() in
the Main routine.
Comment 1 ab 2006-05-18 14:14:10 UTC
Started, P5 as this is not even valid VB code, so no compatibilty problem
Comment 2 Marcus 2017-05-20 11:27:36 UTC
Reset assigne to the default "issues@openoffice.apache.org".