
Ich glaube das geht in Version 3.30 noch nicht

Code: Alles auswählen
Global line.s
Procedure parse()
If Mid(line,1,5)="file:"
Debug "Datei: "+Mid(line,6,Len(line))
EndIf
If Mid(line,1,4)="dir:"
Debug "Ordner: "+Mid(line,5,Len(line))+Chr(10)+"{"
Repeat
line.s=LTrim(ReadString(0))
parse()
Until Mid(line,1,1)="}" Or Eof(0)<>0
Debug"}"
EndIf
EndProcedure
If ReadFile(0,"test.txt")
While Not Eof(0)
line=LTrim(ReadString(0))
parse()
Wend
CloseFile(0)
EndIf