GetValue

Overview

Returns the value from the specified AMPscript variable in the current script context

Syntax

GetValue(1)

Function Properties

Ordinal Type Description
1 string Required AMPscript variable from which to return the value

Example

<script runat=server>
     var example = Platform.Variable.GetValue('@AMPscriptValue');
</script>
Last Updated: Jun 8, 2021