GetValue

Overview

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

Syntax

GetValue(1)

Function Properties

<!--complex table-->
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>