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
> 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
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
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