Issue 18900 - Put statement fails for Boolean types and some strings
Summary: Put statement fails for Boolean types and some strings
Alias: None
Product: udk
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 RC3
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: AOO PleaseHelp
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2003-09-01 17:41 UTC by andrew
Modified: 2017-05-20 11:29 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this issue.
Description andrew 2003-09-01 17:41:04 UTC
The Put statement can not write a boolean with a True value and Strings with
Unicode values greater than 255 are not properly written.

OOo BASIC stores a Boolean in an integer. The True value has all of the bits set
which incorrectly cast down to one byte causing a runtime error. False writes
with no problem.

Each character is one byte. Characters with an ASCII value larger than 255 are
written with incomplete data.
Comment 1 ooo 2003-09-02 07:41:34 UTC
definitely not API, looks like StarBASIC runtime to me
Comment 2 ab 2003-09-03 15:35:27 UTC
-> OOo 2.0
Comment 3 2004-05-18 14:49:49 UTC
According to the roadmap of 2.0
( this
issue has been scheduled for 3.0. 
Comment 4 Regina Henschel 2006-01-30 11:26:56 UTC
I use German OOo2.0.1 on German WinXP home.

Here put- and get-statement convert the characters to/from codepade "Window
1252", characters which are not in that code are converted to quotationmarks. So
you can use promille ‰ (u2030 = win1252 hex89) but not fraction ⅞ (u215E).
Comment 5 Marcus 2017-05-20 11:29:16 UTC
Reset assigne to the default "".