05-20-2024, 04:19 PM
(This post was last modified: 05-20-2024, 04:19 PM by Kernelpanic.)
That's right, it also works with a dot. I looked again in all the books, including the manual, and at best the underscore "_" is mentioned. - Good, learned something. Criticism back!
The error message complains about the missing point, without which there is the usual error message "not defind".
Code: (Select All)
'GoTo-Sprungmarke kann auch einen Punkt enthalten - 20. Mai 2024
Option _Explicit
Dim As Integer zahl
Const MagischeZahl = 13
START.PUNKT:
Input "Magische Zahl raten: ", zahl
If zahl <> MagischeZahl Then
Print: Print "Keine magische Zahl!"
Else
Beep: Print
Print "Richtig geraten!"
End
End If
Print
GoTo START.PUNKT
End
The error message complains about the missing point, without which there is the usual error message "not defind".