Jump to content

Problem with stamping - possible quote/backtick issue


Recommended Posts

hello all

i have a bunch of channels and i want to apply them randomly to various attributes of stamped copies.

i am having problems with the syntax for setting this up.

here is what i have -->

chop("/ch/ch1/xMove`stamp("../copy1",chanNum,1)`/chan1")

i have several "xMove" channels - xMove1, xMove2, xMove3. etc... and i want to simply assign a random channel to a copy via copy stamping.

i know there are various issues with quotes, double quotes, and backticks that i need to be schooled in!

thanks for any and all assistance.

++ scott

Link to comment
Share on other sites

chop("/ch/ch1/xMove`stamp("../copy1",chanNum,1)`/chan1")

You can embed expressions within other expressions but you shouldn't use backticks. Try:

chop("/ch/ch1/xMove"+stamp("../copy1",chanNum,1)+"/chan1")

If that doesn't work post a hip and I'll take a look.

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.
Note: Your post will require moderator approval before it will be visible.

Guest
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...