Apache OpenOffice (AOO) Bugzilla – Issue 17825
basic: where is the Byte type?
Last modified: 2006-05-11 19:10:38 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
Andreas, please take care and retarget accordingy (OOo2.0?)
The byte type is really missing, this should be fixed.
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.
ab: According to discussion with sw/kso -> OOo 2.0.3
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
ab->tbo: Please verify re-open issue and reassign to tbo@openoffice.org
reassign to tbo@openoffice.org
reset resolution to FIXED
verified
integrated into src680m167 verified & closed