[Gambas-user] Issue 42 in gambas: In Gambas3 (2.99.0), Line Input hangs up.
gambas at ...2524...
gambas at ...2524...
Wed Sep 28 04:30:18 CEST 2011
Comment #7 on issue 42 by adamn... at ...626...: In Gambas3 (2.99.0), Line
Input hangs up.
http://code.google.com/p/gambas/issues/detail?id=42
(Sorry to butt in)
Benoit,
If the Print doesn't terminate in a linefeed then it does not seem to work
from a "real" terminal. Note the ; in the first print statement below:
Public Sub Main()
Dim answer As String = "N"
Print "Is your name John (Y/N)?";
Input answer
If answer = "Y" Then
Print "Welcome John."
Else
Print "Sorry, I do not know you."
Endif
End
Bruce
More information about the User
mailing list