[Gambas-user] Re: "[12] Not an object" error.

Rob sourceforge-raindog2 at ...94...
Mon Mar 8 20:19:11 CET 2004


On Monday 08 March 2004 13:07, ron wrote:
> l=${l:4:${#l}-7} ???????????

It's a bashism. ${#l} is the length of variable l, 
${l:start:length} is like Gambas' Mid$ function.  It's saying, 
basically, take gb.somename.la and return just somename.

I'd like to say I came up with it, but I got it from someone 
else's build script ;)

Rob





More information about the User mailing list