CountTable now returns 0 instead of 'key not found' for get requests.
This commit is contained in:
Arne Döring
2019-01-14 17:16:17 +01:00
committed by Miran
parent d69a7842fa
commit b78af990b8
2 changed files with 47 additions and 58 deletions

View File

@@ -11,10 +11,10 @@ Can't access 6
Can't access 6
10
11
Can't access 6
0
10
11
Can't access 6
0
10
11
Can't access 6
@@ -85,7 +85,7 @@ block:
except KeyError:
echo "Can't access 6"
echo x[5]
x[5] += 1
x.inc 5, 1
var c = x[5]
echo c
@@ -97,7 +97,7 @@ block:
except KeyError:
echo "Can't access 6"
echo x[5]
x[5] += 1
x.inc 5, 1
var c = x[5]
echo c