@command<EOL><INDENT>def do_var(self, arg, arguments):<DEDENT>
if arguments['<STR_LIT:list>'] or arg == '<STR_LIT>' or arg is None:<EOL><INDENT>self._list_variables()<EOL>return<EOL><DEDENT>elif arguments['<STR_LIT>'] and "<STR_LIT:=>" in arguments["<STR_LIT>"]:<EOL><INDENT>(variable, value) = arg.split('<STR_LIT:=>', <NUM_LIT:1>)<EOL>if value == "<STR_LIT:time>" or value == "<STR_LIT>":<EOL><INDENT>value = datetime.datetime.now().strftime("<STR_LIT>")<EOL><DEDENT>elif value == "<STR_LIT:date>":<EOL><INDENT>value = datetime.datetime.now().strftime("<STR_LIT>")<EOL><DEDENT>self._add_variable(variable, value)<EOL>return<EOL><DEDENT>elif arguments['<STR_LIT>'] and "<STR_LIT:=>" in arguments["<STR_LIT>"]:<EOL><INDENT>try:<EOL><INDENT>v = arguments['<STR_LIT>']<EOL>Console.ok(str(self.variables[v]))<EOL><DEDENT>except:<EOL><INDENT>Console.error('<STR_LIT>'.format(arguments['<STR_LIT>']))<EOL><DEDENT><DEDENT>elif arg.startswith('<STR_LIT>'):<EOL><INDENT>variable = arg.split('<STR_LIT:U+0020>')[<NUM_LIT:1>]<EOL>self._delete_variable(variable)<EOL>return<EOL><DEDENT>
Usage:
    var list 
    var delete NAMES
    var NAME=VALUE
    var NAME

Arguments:
    NAME    Name of the variable
    NAMES   Names of the variable separated by spaces
    VALUE   VALUE to be assigned

special vars date and time are defined