Ajuda del LibreOffice 24.8
Returns the open stream of an Input or Binary file (String).
Input( Number as Integer, [# ] FileNumber as Integer)
String
Number: Required. Numeric expression specifying the number of characters to return.
#: opcional.
FileNumber requerit. Qualsevol número de fitxer vàlid.
REM ***** BASIC *****
Option VBASupport 1
Sub Example_Input
Dim MyData
Open "MyDataFile.txt" For Input As #1
Do While Not EOF(1)
MyData = Input(1, #1)
Print MyData
Loop
Close #1
End Sub