Gast
#230788
ich bekomme die else bedingung nicht hin!! hier der code: $regfile = "2313def.dat" $crystal = 8000000 $baud = 9600 Config Portb = Output sbi portb, 0 sbi portb, 1 Dim Passwort As Integer Dim Passwort2 As Integer Do First: Passwort = 0 Passwort2 = 1515 Input "Enter passwort : " , Passwort If Passwort = Passwort2 Then Print "access granted" Elseif Then Print "access denied" ;hier irgendwo fehler ohne else if ;gehts! rjmp first Cbi Portb , 0 Wait 1 sbi portb, 0 Loop