AMPscript Syntax Guide

Use the information in this document to correctly form AMPscript function calls, declare variables and values, and reference AMPscript keywords. Use the information on this page and in related pages to correctly form AMPscript function calls, declare variables and values, and reference AMPscript keywords.

Use the AmpscriptSyntaxHighlighting.zip file to highlight AMPscript functions and variables using the Notepad++ and Ultraedit text editors. These templates also support code folding for IF statements and AMPscript blocks. To use these templates, download the .zip files and install the templates using the instructions found in the readme.txt files. The Marketing Cloud does not offer support for these files.

AmpscriptSyntaxHighlighting.zip