fb:porticula NoPaste
Mao-Code Vorschlag
Uploader: | Sebastian |
Datum/Zeit: | 23.06.2007 21:25:18 |
Dim As String InputFile, OutputFile, Temp
Dim As Integer IFF, OFF, i
Input "Text-Level : ", InputFile
Input "Binaer-Level: ", OutputFile
IFF=FreeFile
Open InputFile For Input As #IFF
OFF=FreeFile
Open OutputFile For Binary As #OFF
While Not Eof(IFF)
Line Input #IFF, Temp
For i=1 To Len(Temp)
Put #OFF,, Chr(Asc(Mid(Temp, i, 1))-48)
Next i
Wend
Close #OFF
Close #IFF
Print "Well done. ;)"
Sleep