Get the specified variable in this namespace or a parent namespace. Note: this method is primarily intended for use internally. If you use this method outside of the bsh package you will have to use Primitive.unwrap() to get primitive values. @see Primitive#unwrap( Object ) @retur
( String name )
| 537 | @return The variable value or Primitive.VOID if it is not defined. |
| 538 | */ |
| 539 | public Object getVariable( String name ) |
| 540 | throws UtilEvalError |
| 541 | { |
| 542 | return getVariable( name, true ); |
| 543 | } |
| 544 | |
| 545 | /** |
| 546 | Get the specified variable in this namespace. |