Apache OpenOffice (AOO) Bugzilla – Issue 18796
The Loc function returns line number for text files
Last modified: 2017-05-20 11:29:37 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.
definitely not an API method -> StarBASIC runtime
-> OOo 2.0
cp: retargeted to Office-Later due to limited ressources
Reset assigne to the default "issues@openoffice.apache.org".