Hallo M!
Du hast geschrieben:
#loop
ab1=t_ab1
ab2=t_ab2
ab3=t_ab3
if t_auf1=1 then auf1=0
if t_auf2=1 then auf2=1
if t_auf3=1 then auf3=1
if hour=19 then goto ab
if hour=7 then goto auf
goto loop

#auf
return

#ab
return
-------------------------
Schreibe :



if t_auf1=1 then (goto bzw.gosub) auf1
auf1 muss dann ein programmabschnitt sein (zurück mit goto loop, oder
ein Unterprogramm ,am ende mit return)

Jenachdem Du ein Unterprogramm aufrufst ( dann am Ende return, oder ein goto , dann goto ....)