BE_VariableGet ( name )
Plugin variables are much like $local and $$global FileMaker variables, except the scope is the instance of the plugin, so will persist across FileMaker files and even on closing and opening of files. They are only lost when the plugin is loaded or unloaded, usually only ever when FileMaker restarts.
This function gets the previously stored variable of name.
Version : 4.1
name : the name of the variable to return.
Result : this function returns back to you the value you set it with or an empty string if the variable doesn't exist. There is no error code if the variable doesn't exist.