Re: [Gambas-user] Gambas Scripting Problem

2008-09-16 Thread Arief Bayu Purwanto
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/

Re: [Gambas-user] Gambas Scripting Problem

2008-09-16 Thread Arief Bayu Purwanto
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

Re: [Gambas-user] Gambas Scripting Problem

2008-09-16 Thread Fabien Bodard
#!/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

Re: [Gambas-user] Gambas Scripting Problem

2008-09-16 Thread Benoit Minisini
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

Re: [Gambas-user] Gambas Scripting Problem

2008-09-16 Thread Fabien Bodard
[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

Re: [Gambas-user] Gambas Scripting Problem

2008-09-16 Thread Fabien Bodard
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

Re: [Gambas-user] Gambas Scripting Problem

2008-09-16 Thread Benoit Minisini
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

Re: [Gambas-user] Gambas Scripting Problem

2008-09-16 Thread Benoit Minisini
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 --

Re: [Gambas-user] Gambas Scripting Problem

2008-09-16 Thread Arief Bayu Purwanto
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

Re: [Gambas-user] Gambas Scripting Problem

2008-09-16 Thread Arief Bayu Purwanto
> > 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

Re: [Gambas-user] Gambas Scripting Problem

2008-09-16 Thread Benoit Minisini
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

Re: [Gambas-user] Gambas Scripting Problem

2008-09-16 Thread Arief Bayu Purwanto
- ' 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

Re: [Gambas-user] Gambas Scripting Problem

2008-09-16 Thread Benoit Minisini
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: > > --

[Gambas-user] Gambas Scripting Problem

2008-09-16 Thread Arief Bayu Purwanto
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