Code: Alles auswählen
Repeat
If ExamineDirectory(0,pluginfolder$+"/"+a$,"*.*")
FileType = NextDirectoryEntry()
If FileType = 1
FileName$ = DirectoryEntryName()
Name$ = pluginfolder$+"/"+a$+"/"+FileName$
IncludeFile Name$
EndIf
Else
MessageRequester("Error: Plugins",pluginfolder$+"/"+a$+" not found.",0)
End
EndIf
Until FileType = 0
[quote=Fehlermeldung]Only a litteral string can be put after 'IncludeFile'[/quote]
Wie könnte ich das anders lösen?