Issue 18796 - The Loc function returns line number for text files
Summary: The Loc function returns line number for text files
Status: ACCEPTED
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:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-29 03:29 UTC by andrew
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 andrew 2003-08-29 03:29:18 UTC
If a file is opened in a mode other than Random and OOo BASIC considers the file
a text file then Loc returns the line number that will be read next. I can not
decide if this is a bug or incomplete documentation. Sometimes the return values
from Loc are just wrong. For example, open a file for output and write some text
and Loc returns zero.
Comment 1 ooo 2003-09-02 08:15:36 UTC
definitely not an API method -> StarBASIC runtime
Comment 2 ab 2003-09-03 15:58:53 UTC
-> OOo 2.0
Comment 3 christof.pintaske 2004-06-17 16:54:35 UTC
cp: retargeted to Office-Later due to limited ressources
Comment 4 Marcus 2017-05-20 11:29:37 UTC
Reset assigne to the default "issues@openoffice.apache.org".