Recent changes Random page
GAMING
Gaming
 
StarCraft Wiki
Super Smash Wiki
Halopedia
Diablo Wiki
FFXIclopedia
Grand Theft Wiki
See more...

MCom.getStringVar

From WoWWiki

Jump to: navigation, search
 

This article is a part of the documentation of the MCom function library

 --[[
   getStringVar ( string value )
     Accepts a variable as a string, and returns the value.
     However this can parse complex variable names that contain .
     such as "Something.Variable"
     
     It does not handle "Something['Variable']".. Just use the .
     format instead.  This also works for number indexes.
   
   Args:
     varString - the variable to get, encapsulated in a string, ex:
     "Something.Variable.Monkey.Hippo"
  
   Returns:
     the contents of the variable in the passed string
 ]]--
Rate this article:
Share this article: