specific elements - in a list!

Discussions, advice, bug reports and much more about the "bach" environment.
Post Reply
ernopolo
Posts: 151
Joined: Sun Sep 16, 2012 6:55 pm

specific elements - in a list!

Post by ernopolo » Thu Mar 23, 2017 10:08 am

Hello,

is there an object which works like bach.pick but returns the result joined in a lll ? I cannot find it.

e.g. original list: "a b c d e"
picked addresses: "(1) (1) (4) (2)"
result: "a a d b"

please help which one is this.
thanks,
E

danieleghisi
Site Admin
Posts: 1349
Joined: Fri Dec 03, 2010 1:25 pm

Re: specific elements - in a list!

Post by danieleghisi » Thu Mar 23, 2017 4:36 pm

Yes, bach.nth. Try [bach.nth (1 1 4 2)]

ernopolo
Posts: 151
Joined: Sun Sep 16, 2012 6:55 pm

Re: specific elements - in a list!

Post by ernopolo » Thu Mar 23, 2017 5:14 pm

oh. thanks. :oops:

Post Reply