BASIC OPEN File

Programmierung unter AOO/LO (StarBasic, Python, Java, ...)

Moderator: Moderatoren

hawe
****
Beiträge: 151
Registriert: Di, 05.08.2008 19:47

BASIC OPEN File

Beitrag von hawe »

Was ist an diesem Codeauszug flasch?

Code: Alles auswählen

    Open fdfFile For Binary As fHdl
    While Not EOF(fHdl)
        Get #fHdl, , a
        If a <> 0 And Not EOF(fHdl) Then
          data = data & Chr(a)
        End If
    Wend
    Close #fHdl
OO3.0 RC3 win Compiler meint: Unerwartetes Symbol Get...
Es fällt auf, dass EOF nicht als BASIC-Befehl erkannt wird - hat grüne Schrift
Gruss HW
Win7/SuSe 11.2 - LO 3.3