LibreOffice 24.8 帮助
返回输入或二进制文件 (字符串) 的打开流。
        Input( Number as Integer, [# ] FileNumber as Integer)
    String
「数字」: 必填。数字表达式,指定要返回的字符数量。
「#」: 可选。
「FileNumber」: 必填。任意有效的文件数量。
        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