Ach herrje.
Zuerst: Ich blicke hier überhaupt nicht durch.:D
Ich deute einfach mal diesen Teil hier:
Zitat von Rantanplan
sooo, und jetzt soll er eben die variable 1 oder 2 bzw $zufall benutzen bzw ausführen
Meinst du damit einfach so eine Konstruktion?
Local $iFaktor1 = 5, $iFaktor2, $iInput
$iInput = InputBox("","Zahl:")
If $iInput > 25 Then
$iFaktor2 = 25
Else
$iFaktor2 = $iInput
EndIf
MsgBox(64,"","Ergebnis:" & @CRLF & $iFaktor1 & " * " & $iFaktor2 & " = " & $iFaktor1 * $iFaktor2)
Meinst du einfach sowas?
lg chess