2

I'm currently working on an email template that will have multiple content area's. My question is if 1 or more of the content area's are using the same variable will I need to close the variable's in each content block before re-opening them in the next content block.

If I do need to close them what is the code to close a variable, I have tried "unset" "reset" "delete" to no avail.

  • You can do reuse them after initialization . No need to close or delete. – Pranay Jaiswal Jul 13 '16 at 8:52
  • 1
    Perfect thank you for your reply that's very helpful, have a great week. – G.Minshall Jul 13 '16 at 9:06
2

You can reuse the same variable in the template.

  • If this is the answer, please mark it as best answer. – Junaid P Khader Jul 13 '16 at 11:35
0

You can certainly reuse the same variable across different content areas.

However!!!

When one content area is finished, all of the variables it was using will keep their values. This may not be what the next content area expects (or it may be, depending on your need). To "UNSET" a variable when done using it, you can use

Var @variable

And then it becomes "empty" and ready for the next content area.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.