Code: Alles auswählen
IF vorraussetzung = #erfüllt
GOSUB bla
ENDIF
Code: Alles auswählen
IF vorraussetzung = #erfüllt
INCLUDEFILE bla.pb
ENDIF
Irgendwelche Nachteile?
Code: Alles auswählen
IF vorraussetzung = #erfüllt
GOSUB bla
ENDIF
Code: Alles auswählen
IF vorraussetzung = #erfüllt
INCLUDEFILE bla.pb
ENDIF
Code: Alles auswählen
End
Code: Alles auswählen
If bedingung = #erfüllt
IncludeFile "bla.pb"
EndIf
Code: Alles auswählen
If bedingung = #erfüllt
End
EndIf
Code: Alles auswählen
repeat
if ...
gosub ...
endif
if...
gosub...
endif
if ...
gosub
endif
until ...
end
;------------------------------
bla1:
...
bla2:
...
Code: Alles auswählen
Goto start
IncludeFile "bla.pb"
start:
Na, das mein ich doch... Im Source steht IncludeFile, in der Exe steht nur noch der Hauptsource mit allen Includes... Nochmal...ts-soft hat geschrieben:IncludeFile geschieht während der Compilierung, nicht während der RunTime
Code: Alles auswählen
If [...]
IncludeFile "bla.pb"
EndIf
Code: Alles auswählen
If [...]
[...] ;Code aus bla.pb
EndIf
Code: Alles auswählen
If buh
includefile "blah.pb"
endif