Re: [Gambas-user] Gambas script execution

2009-11-27 Thread Charlie Reinl
Am Freitag, den 27.11.2009, 20:09 +0100 schrieb Benoît Minisini: > > Am Mittwoch, den 25.11.2009, 00:27 +1100 schrieb > > > > nospam.nospam.nos...@gmail.com: > > > Matteo Lisi wrote: > > > > Hi ! > > > > > > > > The first line: > > > > #!/usr/bin/ gbs2 > > > > > > > > it's a typing error > >

Re: [Gambas-user] Gambas script execution

2009-11-27 Thread Benoît Minisini
> Am Mittwoch, den 25.11.2009, 00:27 +1100 schrieb > > nospam.nospam.nos...@gmail.com: > > Matteo Lisi wrote: > > > Hi ! > > > > > > The first line: > > > #!/usr/bin/ gbs2 > > > > > > it's a typing error > > > the right line is: > > > #!/usr/bin/gbs2 > > > > > > Thanks Charlie , but the

Re: [Gambas-user] Gambas script execution

2009-11-26 Thread Fabien Bodard
in fact when i've wrotted the gbs ... i've use gb2 calsortkey function and all the CComponent class from the ide to manage automatiquely the components dépendence.. this way when you call : USE gb.qt.ext internally it call gb.qt too... but the function of Benoit have a bug i've detected there

Re: [Gambas-user] Gambas script execution

2009-11-26 Thread Fabien Bodard
the true syntax for the magic call is : /usr/bin/env gbs2 this way the gbs2 true path is alway good 2009/11/24 Matteo Lisi : > > Could the problem be some other typing error? > >   Perhaps ! A dog ate my hands and I'm typing with two little wood rod... >   I tried to replace the return line

Re: [Gambas-user] Gambas script execution

2009-11-24 Thread Matteo Lisi
Could the problem be some other typing error? Perhaps ! A dog ate my hands and I'm typing with two little wood rod... I tried to replace the return line with the one who you suggest me: RETURN cVal!MemTotal - cVal!MemFree - cVal!Buffers - cVal!Cached + cVal!SwapTot al - cVal!SwapFree - cVal

Re: [Gambas-user] Gambas script execution

2009-11-24 Thread Charlie Reinl
Am Mittwoch, den 25.11.2009, 00:27 +1100 schrieb nospam.nospam.nos...@gmail.com: > Matteo Lisi wrote: > > Hi ! > > > > The first line: > > #!/usr/bin/ gbs2 > > > > it's a typing error > > the right line is: > > #!/usr/bin/gbs2 > > > > Thanks Charlie , but the problem , unfortunatly is

Re: [Gambas-user] Gambas script execution

2009-11-24 Thread nospam.nospam.nospam
Matteo Lisi wrote: > Hi ! > it's not a binding problem if I write a simple script like: > PRINT "Hi from Gambas" Correct, but what about this.. > RETURN cVal!MemTotal - cVal!MemFree - cVal!Buffers - cVal!Cached + > cVal!SwapTotal - cVal!SwapFree - cVal!SwapCached > > What happens if you us

Re: [Gambas-user] Gambas script execution

2009-11-24 Thread nospam.nospam.nospam
Matteo Lisi wrote: > Hi ! > > The first line: > #!/usr/bin/ gbs2 > > it's a typing error > the right line is: > #!/usr/bin/gbs2 > > Thanks Charlie , but the problem , unfortunatly is not the space ! Could the problem be some other typing error? ---

Re: [Gambas-user] Gambas script execution

2009-11-24 Thread Matteo Lisi
Hi ! it's not a binding problem if I write a simple script like: PRINT "Hi from Gambas" the execution of script return me OK yet ... [1]nospam.nospam.nos...@gmail.com ha scritto: Matteo Lisi wrote: Hi ! thanks for your reply I create an empty .project file on the director

Re: [Gambas-user] Gambas script execution

2009-11-24 Thread Matteo Lisi
Hi ! The first line: #!/usr/bin/ gbs2 it's a typing error the right line is: #!/usr/bin/gbs2 Thanks Charlie , but the problem , unfortunatly is not the space ! Charlie Reinl ha scritto: Am Dienstag, den 24.11.2009, 11:54 +0100 schrieb Matteo Lisi: Hi ! Finally I crosscom

Re: [Gambas-user] Gambas script execution

2009-11-24 Thread nospam.nospam.nospam
Charlie Reinl wrote: > Am Dienstag, den 24.11.2009, 11:54 +0100 schrieb Matteo Lisi: >> >> Hi ! >> >> Finally I crosscompiled the gambas for ARM, and I have on my arm >> system the "gbc2" file >> >> I tried to execute the following script: >> >> /

Re: [Gambas-user] Gambas script execution

2009-11-24 Thread nospam.nospam.nospam
Matteo Lisi wrote: > Hi ! > thanks for your reply > I create an empty .project file on the directory , and the > execution of script give me an "OK", but if I create a lock loop > in my script the execution still return me OK ... >> RETURN cVal!MemTotal - cVal!MemFree - cVal!Buffers -

Re: [Gambas-user] Gambas script execution

2009-11-24 Thread Charlie Reinl
Am Dienstag, den 24.11.2009, 11:54 +0100 schrieb Matteo Lisi: > > Hi ! > > Finally I crosscompiled the gambas for ARM, and I have on my arm system > the "gbc2" file > > I tried to execute the following script: > > /**/ > #!/us

Re: [Gambas-user] Gambas script execution

2009-11-24 Thread Matteo Lisi
Hi ! thanks for your reply I create an empty .project file on the directory , and the execution of script give me an "OK", but if I create a lock loop in my script the execution still return me OK ... I think that the gbc2 didn't process the file like a script... Regards

Re: [Gambas-user] Gambas script execution

2009-11-24 Thread nospam.nospam.nospam
Matteo Lisi wrote: > Hi ! > > Finally I crosscompiled the gambas for ARM, and I have on my arm > system > the "gbc2" file > > I tried to execute the following script: > > /**/ > #!/usr/bin/ gbs2 > > ' This script returns the m

[Gambas-user] Gambas script execution

2009-11-24 Thread Matteo Lisi
Hi ! Finally I crosscompiled the gambas for ARM, and I have on my arm system the "gbc2" file I tried to execute the following script: /**/ #!/usr/bin/ gbs2 ' This script returns the memory really used by the system, the cach