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

Daniel Campos danielcampos at ...282...
Mon Mar 8 21:11:38 CET 2004


May be a "[12]_Not_an_object_error_gambas at lists.sourceforge.net"? :-)))

Regards,

Daniel Campos


El lun, 08-03-2004 a las 20:49, ron escribió:
> On Monday 08 March 2004 20:19, Rob wrote:
> > 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
> >
> Uhmmm 
> gb.somename.la = 3 + 8 + 3 = 14
> start on 4 for the letters so I know now it is base 1
> then I need 8 for length, ${#l}-7 = 14-7 = 8?
> Do I miss something or do you miss the last letter? :)
> 
> Ron
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
-- 
Daniel Campos <danielcampos at ...282...>





More information about the User mailing list