--- title: "GetLocalVariable" slug: "getlocalvariable" updated: 2024-05-04T19:41:36Z published: 2024-05-04T19:41:36Z canonical: "help.mail-and-deploy.com/getlocalvariable" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.mail-and-deploy.com/llms.txt > Use this file to discover all available pages before exploring further. # GetLocalVariable ### General The *GetLocalVariable* function returns the value of the local variable with the given name. ### Syntax The syntax of the *GetLocalVariable* function is: GetLocalVariable Function Syntax GetLocalVariable("variable_name") ### Examples The following [Expression](/release34/docs/introduction-to-mail-and-deploy-expressions) returns "Africa" as it is value contained in the local variable *vRegion*: GetLocalVariable Function Example GetLocalVariable("vRegion")