Issue 17825 - basic: where is the Byte type?
Summary: basic: where is the Byte type?
Status: CLOSED FIXED
Alias: None
Product: udk
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 Beta2
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 2.0.3
Assignee: b.osi.ooo
QA Contact: issues@udk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-03 22:54 UTC by paolomantovani
Modified: 2006-05-11 19:10 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-03 22:54:07 UTC
REM  *****  BASIC  ***** 
' the code below shows that oobasic 
' recognize a Byte data type, but you 
' cannot declare a variable As Byte. 
  
Option Explicit 
 
Sub Main 
Dim vVar1, vVar2 
	vVar1 = 65 
	vVar2 = Cbyte(vVar1) 
 
	print Typename(vVar2) 'vVar2 is a Byte type! 
	print VarType(vVar2) '17 
	print vVar1, vVar2 
	 
Dim a As Byte 
	TypeName(a) 'Object? 
 
End Sub
Comment 1 kay.ramme 2003-08-04 12:05:08 UTC
Andreas, please take care and retarget accordingy (OOo2.0?)
Comment 2 ab 2003-08-07 08:43:41 UTC
The byte type is really missing, this should be fixed.
Comment 3 b.osi.ooo 2004-05-18 14:49:13 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 ab 2006-03-06 15:13:54 UTC
ab: According to discussion with sw/kso -> OOo 2.0.3
Comment 5 ab 2006-04-21 12:12:36 UTC
ab: To test:

Option Explicit 
 
Sub Main 
    Dim b As Byte 
    print TypeName(b)

    b = 0
    b = 255
    print b

    b = 500    ' Overflow error
End Sub

Comment 6 ab 2006-04-21 12:19:52 UTC
ab->tbo: Please verify


re-open issue and reassign to tbo@openoffice.org
Comment 7 ab 2006-04-21 12:19:56 UTC
reassign to tbo@openoffice.org
Comment 8 ab 2006-04-21 12:19:59 UTC
reset resolution to FIXED
Comment 9 b.osi.ooo 2006-04-27 17:49:40 UTC
 verified 
Comment 10 b.osi.ooo 2006-05-11 19:10:38 UTC
integrated into src680m167
verified & closed