Application.getGlobalVar() This page was last modified over 30 day(s) ago and has 0 comment(s)


Back to Application Class Summary

Availability
Windows, Mac OSX, Linux

Usage
mdm.Application.getGlobalVar(varName:String):String

Parameters
varName:String - Global variable name

Returns
A String

Description
Returns the value of the specified global variable from the application.

Notes
If no value is found null string will be returned to denote that as special kind of results.

Global variables are set in the Zinc IDE. More information on global variables can be found on this page.

Example Code
//Retrieves a global variable called 'myGlobalVar'
var myGlobalVar:String = mdm.Application.getGlobalVar("myGlobalVar");
if(myGlobalVar) {
///
};

mdm.Application Class Example Downloads
No Example Downloads Available


Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here
  After Logging In, Click Here to Refresh This Page