Jump to content

Initialize sublists as setf variables

Recommended Posts

Dear All,


It´is possible to initialize sublists all at once as setf variables ?


To transform a list like this:

((c4 ds4 e4)(c4 d4 f4)(c4 d4 g4)(cs4 d4 e4)), 


automatically into a list of setf materials, 



v1 = (c4 d4 e4)

v2 = (c4 d4 f4)

v3 = (c4 d4 g4)

v4 = (cs4 d4 e4)


OBS.: v1 can be any letter, like p1, p2

or maybe mat1, mat2, etc...


Thank you



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Terms of Use Privacy Policy