'bend!

> While (fr.aussehen=="schiach") {
>     hh.alkspiegel =hh.alkspiegel + 3;
>     }
>
> Nein das mit schiach war ja noch nie das Problem.
> Dann eher so:
>
> if (hh.alkspiegel == "hoch") {
>     fr.aussehen="egal";
>       hh.alkspiegel + 1;
>     }
> Else {
>       fr.aussehen="relevant"
>     }
>
> If (fr.aussehen || "relevant") {
>       fr.command = "nimm Bernd"
>     }
Eklatanter Fehler, Herbert!

Richtig muss das letzte If statement heissen:

If (fr.aussehen  == relevant" && fr.motivation  == "willig"){
   fr.command = "Ab ins Bett mit Bernd";
   hh.alkspiegel +1;
   }

:-)
Schönen Abend,

       Bernd

"The computer should be doing the hard work. That's what it's paid to
do, after all.
-- Larry Wall in <[EMAIL PROTECTED]>


_______________________________________________
Coffeehouse Mailingliste, Postings senden an:
[email protected]
An-/Abmeldung und Suchfunktion unter:
http://www.glengamoi.com/mailman/listinfo/coffeehouse

Antwort per Email an