Re: [Gambas-user] Input command with double enter: is this expected?

2010-04-07 Thread Leandro Santiago
Thanks. Now it works :-) 2010/4/7 Benoît Minisini > > Confirmed with Gambas3 rev 2822, Ubuntu 9.10 64bit. > > > > This code; > > Public Sub Main() > > Dim a As String > > Input a > > Print a > > End > > > > Yields this; > > " > > $ gbr3 ~/Desktop/cmdTesti.gambas > > This will be printed to scree

Re: [Gambas-user] Input command with double enter: is this expected?

2010-04-07 Thread Benoît Minisini
> Confirmed with Gambas3 rev 2822, Ubuntu 9.10 64bit. > > This code; > Public Sub Main() > Dim a As String > Input a > Print a > End > > Yields this; > " > $ gbr3 ~/Desktop/cmdTesti.gambas > This will be printed to screen... > > This > " > > Though, I'm not sure how 'input' should behave... > C

Re: [Gambas-user] Input command with double enter: is this expected?

2010-04-07 Thread Jussi Lahtinen
Confirmed with Gambas3 rev 2822, Ubuntu 9.10 64bit. This code; Public Sub Main() Dim a As String Input a Print a End Yields this; " $ gbr3 ~/Desktop/cmdTesti.gambas This will be printed to screen... This " Though, I'm not sure how 'input' should behave... Can you use Application.Args[] ? Jussi

[Gambas-user] Input command with double enter: is this expected?

2010-04-05 Thread Leandro Santiago
Hello to all. I'm writing a small command-line app. I'm using the input command to read data from keyboard (stdin), and to finalize the command in gambas, is necessary to press enter key twice, but I never saw this behavior. Usually (in 99% of languages) just one enter is the nedeed. Is there ano