[Gambas-user] Array slicing - how is it done in Gambas?

Emil Lenngren emil.lenngren at ...626...
Wed Oct 10 23:46:51 CEST 2012


Still, it's not a real "slice" in the sense that it points to the original
array, but a deep copy that may take some time to create.
In for example the Go language, you can create a slice that "points" to the
original array with different offsets and lengths.

2012/10/10 RICHARD WALKER <richard.j.walker at ...247...>

> That's the one Sebastian,
>
> my_array.Copy(6,3)
>
> should do it. Thanks.
>
> R
>
>
> ------------------------------------------------------------------------------
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list