bsh.commands.unset.bsh Maven / Gradle / Ivy
The newest version!
/**
"Undefine" the variable specifed by 'name' (So that it tests == void).
Note: there will be a better way to do this in the future. This is
currently equivalent to doing namespace.setVariable(name, null);
*/
bsh.help.unset = "usage: unset( name )";
void unset( String name )
{
if ( arg == null ) // ???
return;
this.caller.namespace.unsetVariable( name );
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy