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 is only 3 week by reinstalling completly my system and where i've not compiled the gb.qt component ... this make the ide crashing, because gb.report need gb.qt and now i've only gb.qt4... so the calcsort key need to remove a component in the list when it is deficient. i will looking on that ... for gb3.. and if it work maybe Benoit can doing a Backport 2009/11/24 Charlie Reinl <karl.re...@fen-net.de>: > 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 not the space ! >> >> Could the problem be some other typing error? > > Salut, > > 1.)------ full call -------- > > :~/gambas/2/f3/scriptTest$ /usr/local/bin/gbs2 -c > ~/gambas/2/f3/scriptTest/matteo.ga2script > gbs2: warning: cannot find component dbreportviewer2 required by > DBReportDesigner2 > CComponent.CalcSortKey.171: #13: Null object > 0: CComponent.CalcSortKey.171 > 1: CComponent.SortComponents.201 > 2: CComponent._init.123 > 3: MMain.MakeVirtualProject.180 > 4: MMain.Main.83 > > I'v no idea what, and why that gbs2: warning. > The component exists as User-Component, and of course it has nothing to > do with the script > > 2.)----- my gbs2 version [rev 2429] ------------------------ > > :~/gambas/2/f3/scriptTest$ /usr/local/bin/gbs2 -V > 2.14.0 > > 3.)------ after a chmod +x and changing to #!/usr/local/bin/gbs2 ------ > > :~/gambas/2/f3/scriptTest$ ./matteo.ga2script > ./matteo.gbs: line 3: syntax error near unexpected token `(' > ./matteo.gbs: line 3: `FUNCTION GetUsedMemory() AS Integer' > > perhaps Benoit or Fabien have a Idea! > > > -- > Amicalement > Charlie > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user