@GlobalVariable
From Fmepedia
@GlobalVariable is a FME Function.
Example
This example workspace uses an FMEFunctionCaller transformer to call the @GlobalVariable function.

Above: The Workspace with two FMEFunctionCaller transformers
In the workspace a number of null-geometry features are created, each with an ID and random number. We wish to create a variable whose name matches the feature ID and whose value matches the feature's random number attribute, then list all of these in the log window.
Creating Variables
The first FMEFunctionCaller creates variables. The syntax is:
@GlobalVariable(@Value(_creation_instance),@Value(_random_number))
...ie create a global variable called <_creation_instance> (the ID) with the value <_random_number>.
FME automatically logs variables, but only when there are 50 or less. Because we are creating more than 50 we get the message in the screenshot below:

Logging Variables
To fully log all variables we have to use the @GlobalVariable configuration line, MAX_TO_LOG. So the syntax of the second FMEFunctionCaller is:
Function = @GlobalVariable(xxxx) Configuration Line = GlobalVariable MAX_TO_LOG -1
-1 means log all variables, resulting in the screenshot below:

NB: Of course variable suppression is carried out for a reason. Some format readers and writers create many hundreds (if not thousands) or global variables as part of their normal processing. Turning on the logging of all variables can therefore cause your log file to become very large.
