private static String Variable(Environment e) throws Exception {
        e.Check("%", "Invalid beginning of a 'Variable' construct");

        String varName = "";
        while (!e.EOL() && !e.Peek().equals('%')) {
            varName += e.Read().toString();
        }
        e.Check("%", "Variable is missing closure character %");

        String varValue = e.vars.get(varName);
        //System.out.println("Variablename: " + varName + "VarValue: " + varValue );
        return varValue == null ? "" : varValue;
    }