On 9/16/08, Fabien Bodard <[EMAIL PROTECTED]> wrote:
>
> just a word first exention for gambasscript is .g and not .gbs
Thank you, will note it.
--
Arief Bayu Purwanto
About : http://about.freelancer.web.id/
Blog : http://bayu.freelancer.web.id/
On 9/16/08, Benoit Minisini <[EMAIL PROTECTED]> wrote:
>
>
> Can you try the revision #1561? I have made some changes in the scripter,
> and
> you should have a warning message instead of an error.
Thank you Benoit, will try it once I'm at office.
The server is behind NAT so can't try if from hom
#!/usr/bin/env gbs3
USE gb.net
DIM Sport AS NEW SerialPort
Sport.Speed = "115200"
Sport.PortName = "/dev/ttyUSB0"
Sport.Parity = 0
Sport.DataBits = "8"
Sport.StopBits = "1"
' keep DTR on
Sport.FlowControl = 0
Sport.Open()
PRINT Sport.DSR
PRINT Sport.DTR
PRINT Sport.CTS
PRINT Sport.RTS
PRINT Sp
On mardi 16 septembre 2008, Fabien Bodard wrote:
> [EMAIL PROTECTED]:~/gambas$ gbs3 test.g
> RESERVED Public
> RESERVED Sub
> IDENTIFIER MAIN
> RESERVED (
> RESERVED )
> NEWLINE (1)
> RESERVED Print
> STRING "toto"
> NEWLINE
[EMAIL PROTECTED]:~/gambas$ gbs3 test.g
RESERVED Public
RESERVED Sub
IDENTIFIER MAIN
RESERVED (
RESERVED )
NEWLINE (1)
RESERVED Print
STRING "toto"
NEWLINE (2)
NEWLINE (3)
NEWLINE (4)
RESERVED End
just a word first exention for gambasscript is .g and not .gbs
2008/9/16 Benoit Minisini <[EMAIL PROTECTED]>:
> On mardi 16 septembre 2008, Arief Bayu Purwanto wrote:
>> Just a file with:
>>
>>
>> PRINT "HELLO TEST WORLD!"
>>
>>
>> result the same error message.
>
> Everything
On mardi 16 septembre 2008, Arief Bayu Purwanto wrote:
> Just a file with:
>
>
> PRINT "HELLO TEST WORLD!"
>
>
> result the same error message.
Can you try the revision #1561? I have made some changes in the scripter, and
you should have a warning message instead of an error.
R
On mardi 16 septembre 2008, Arief Bayu Purwanto wrote:
> Just a file with:
>
>
> PRINT "HELLO TEST WORLD!"
>
>
> result the same error message.
Everything works correctly there, that's strange...
--
Benoit Minisini
--
Just a file with:
PRINT "HELLO TEST WORLD!"
result the same error message.
--
Arief Bayu Purwanto
About : http://about.freelancer.web.id/
Blog : http://bayu.freelancer.web.id/
-
This SF.Net email is sponso
>
> Try to put "USE gb.net" at the beginning of the script, to tell the
> scripter
> that the gb.net component is needed.
Still got this error:
CComponent.CalcSortKey.175: #13: Null object
0: CComponent.CalcSortKey.175
1: CComponent.SortComponents.205
2: CComponent._init.124
3: MMain.GenerateFile
On mardi 16 septembre 2008, Arief Bayu Purwanto wrote:
> -
> ' Gambas module file
>
> DIM Sport AS NEW SerialPort
>
> Sport.Speed = "115200"
> Sport.PortName = "/dev/ttyUSB0"
> Sport.Parity = 0
> Sport.DataBits = "8"
> Sport.StopBits = "1"
> ' keep DTR on
> Sport.FlowControl = 0
> S
-
' Gambas module file
DIM Sport AS NEW SerialPort
Sport.Speed = "115200"
Sport.PortName = "/dev/ttyUSB0"
Sport.Parity = 0
Sport.DataBits = "8"
Sport.StopBits = "1"
' keep DTR on
Sport.FlowControl = 0
Sport.Open()
PRINT Sport.DSR
PRINT Sport.DTR
PRINT Sport.CTS
PRINT Sport.RTS
P
On mardi 16 septembre 2008, Arief Bayu Purwanto wrote:
> Dear All,
>
> Currently, I'm trying to connect to a GSM modem on server. This is a
> headless server, so there's no way for me to access it's GUI. All I have is
> console:(.
>
> For this purpose, I'm trying to test serial port example:
>
> --
Dear All,
Currently, I'm trying to connect to a GSM modem on server. This is a
headless server, so there's no way for me to access it's GUI. All I have is
console:(.
For this purpose, I'm trying to test serial port example:
-' Gambas module file
DIM Sport AS NEW SerialPort
Spor
14 matches
Mail list logo