VALUE argument 1; must be the name of a variable in the pool; found bad name

Synopsis
In calling the VALUE() built-in function, you supplied a variable name that was not a legal environment variable name, such as an empty string. bad name is what you supplied.

Cause
You wanted to specify your variable name directly to VALUE(), but you forgot to put quotes around it. Therefore, Reginald assumes that it is the name of another variable which contains the real variable name. This is likely the case if bad name is not what you intended.

Cure
If you're directly supplying your variable name as a literal string, put quotes around it.