Comment #7 on issue 42 by adamn...@gmail.com: 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


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to