Bug 46701 - OPEN without FOR is a syntax error
Summary: OPEN without FOR is a syntax error
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
3.4.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Not Assigned
URL: http://cgit.freedesktop.org/libreoffi...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-27 15:21 UTC by Christopher Yeleighton
Modified: 2014-06-24 16:47 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Yeleighton 2012-02-27 15:21:07 UTC
The following instruction is reported as a syntax error:

   OPEN "file.txt" AS 1

Workaround:

   OPEN "file.txt" FOR INPUT AS 1
Comment 1 Joel Madero 2014-06-24 15:13:39 UTC
Never confirmed by a QA member. Moving back to UNCONFIRMED.
Comment 2 Urmas 2014-06-24 16:47:28 UTC
The FOR clause is mandatory for the Open statement.