[Gambas-user] Issue 42 in gambas: In Gambas3 (2.99.0), Line Input hangs up.

gambas at ...2524... gambas at ...2524...
Wed Sep 28 03:37:36 CEST 2011


Comment #5 on issue 42 by rmorga... at ...626...: In Gambas3 (2.99.0), Line  
Input hangs up.
http://code.google.com/p/gambas/issues/detail?id=42

For simple command line programs this is a major issue. The following code  
hangs at the INPUT statement. If you run the code and enter "Y" or anything  
else, then press enter, the program simply hangs.

Using Ubuntu 10.04LTS w/latest updates, Gnome Desktop, Gambas 2.99.4

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."
  END

END








More information about the User mailing list