SetValue
Overview
Returns the value from the specified AMPscript variable in the current script contextSyntax
SetValue(1, 2)
| Ordinal | Type | Description | |
|---|---|---|---|
| 1 | string | Required | AMPscript variable containing value |
| 2 | string | Required | Value passed to AMPscript variable |
Example
<script runat=server>
Platform.Variable.SetValue("@exampleVariable","exampleValue");
</script>