def execomm(c, *i):
    ct = c[1]
    if (len(i) > 0):
        if (i[0] == '~h'):
            print((' ' + c[0]))
            return False
    if (ct == 'disp'):
        print(c[2])
        return False
    elif (ct == 'func'):
        for f in c[2:]:
            f()
        return False
    elif (ct == 'comp'):
        try:
            proparg = list(i)
            for ind in range(len(proparg)):
                for vn in variables.keys():
                    proparg[ind] = proparg[ind].replace(('$' + vn), variables[vn])
            c[2](*proparg)
            return False
        except SystemExit:
            sys.exit()
        except Exception as e:
            return True
    elif (ct == 'seq'):
        execscript(c[2].replace(';', '\n'))
        return False
def execomm(c, *i):
    ct = c[1]
    if (len(i) > 0):
        if (i[0] == '~h'):
            print((' ' + c[0]))
            return False
    if (ct == 'disp'):
        print(c[2])
        return False
    elif (ct == 'func'):
        for f in c[2:]:
            f()
        return False
    elif (ct == 'comp'):
        try:
            proparg = list(i)
            for ind in range(len(proparg)):
                for vn in variables.keys():
                    proparg[ind] = proparg[ind].replace(('$' + vn), variables[vn])
            c[2](*proparg)
            return False
        except SystemExit:
            sys.exit()
        except Exception as e:
            return True
    elif (ct == 'seq'):
        execscript(c[2].replace(';', '\n'))
        return False