Issue 17791 - Basic language: multiple case else instructions allowed in Select Case Blocks
Summary: Basic language: multiple case else instructions allowed in Select Case Blocks
Status: ACCEPTED
Alias: None
Product: udk
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 Beta2
Hardware: All All
: P3 Trivial (vote)
Target Milestone: AOO PleaseHelp
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-02 13:40 UTC by paolomantovani
Modified: 2017-05-20 11:29 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 paolomantovani 2003-08-02 13:40:08 UTC
REM  *****  BASIC  *****

'the code below shows a select case block
'that runs multiple case else instructions,
'without raise a compilation error
'(as VBA does)

Sub Bug_Select
Dim sVar As String

	sVar = Chr(int(255 * rnd)): print sVar
	Select Case sVar
		Case "0" To "9"
			Print "numeric"
		Case "A" To "Z"
			Print "capital letter"
		Case Else
			Print "first else"
		Case Else
			Print "second else"
		Case Else
			Print "third else"
	End Select
	
End Sub
Comment 1 kay.ramme 2003-08-04 12:03:26 UTC
Andreas, please take care and retarget accordingly (OOo2.0?)
Comment 2 ab 2003-09-01 13:49:07 UTC
-> OOo 2.0
Comment 3 b.osi.ooo 2004-05-18 14:48:23 UTC
According to the roadmap of  OpenOffice.org 2.0
(http://tools.openoffice.org/releases/q-concept.html) this
issue has been scheduled for 3.0. 
Comment 4 Marcus 2017-05-20 11:29:58 UTC
Reset assigne to the default "issues@openoffice.apache.org".