NTSL update

This commit is contained in:
Markolie
2015-08-13 22:01:00 +02:00
parent 1cce7c87be
commit e39b60b407
8 changed files with 188 additions and 189 deletions

View File

@@ -134,7 +134,7 @@
else if(isobject(b) && !isobject(a))
RaiseError(new/runtimeError/TypeMismatch("/", a, b))
return null
if(b==0)
if(b==0 || b==null)
RaiseError(new/runtimeError/DivisionByZero())
return null
return a/b