Lars, In general, if you have a one element vector list, and want to use it where a vector is required (such as the move() statement), you can simply include the index of the first (and only) element, which is 0. For example:
move(vectorlist); // Compile error move(vectorlist[0]); // Legal statement Bertho, please correct me if I'm wrong. Tony -----Original Message----- From: Lars Andersson Sent: Sunday, November 24, 2013 12:40 PM To: [email protected] Subject: Re: [Emc-users] gcmc - v1.4.0 - Now supportting multiple backends Hi Bertho, thanks for your fine work! Really enjoy this. I'm wondering about a small detail; how do I convert a vectorlist with one element as returned from tail(vectorlist, 1) into a vector as expected by move(vector)? Best, Lars --- Detta epostmeddelande innehåller inget virus eller annan skadlig kod för avast! antivirus är aktivt. http://www.avast.com ------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
