hashhub/HASHBASE/operators/remainder.py
Justus Jan Nico Wolff 4bb3864d20 new file: HASHBASE/console-utils/log.py
new file:   HASHBASE/operators/add.py
	new file:   HASHBASE/operators/divide.py
	new file:   HASHBASE/operators/equal.py
	new file:   HASHBASE/operators/higher.py
	new file:   HASHBASE/operators/lower.py
	new file:   HASHBASE/operators/multiply.py
	new file:   HASHBASE/operators/remainder.py
	new file:   HASHBASE/operators/subtract.py
	new file:   HASHBASE/statements/create.py
	new file:   HASHBASE/statements/getatt.py
	new file:   HASHBASE/statements/if.py
	new file:   HASHBASE/statements/newobj.py
	new file:   HASHBASE/statements/setatt.py
	modified:   PCPL/interpreter.py
	modified:   hashengine.py
	deleted:    langsys/__pycache__/__init__.cpython-311.pyc
	modified:   langsys/lang/de_DE.LAN
	modified:   langsys/lang/en_EN.LAN
	modified:   main.py
2024-05-10 22:43:32 +02:00

18 lines
635 B
Python

class main():
def IND(self, index):
print("Indexing is not supported with this instruction")
return (1)
def EXEC(self, params):
print("Execution is not supported with this instruction")
return (1)
def ATR(self, target):
print("Getting an attribute is not supported with this instruction")
return (1)
def STAT(self, params):
print("Statements are not supported with this instruction")
return (1)
def OP(self, arg1, arg2):
if arg1.isnumeric() and arg2.isnumeric():
return (0, int(arg1)%int(arg2))
else:
return (1)