Promote "echo" syntax without parenthesis

This commit is contained in:
Adam Stankiewicz 2016-01-26 09:40:44 +01:00
commit cd574d1976
7 changed files with 93 additions and 93 deletions

View file

@ -15,15 +15,15 @@ Example:
try:
var a = readLine(f)
var b = readLine(f)
echo("sum: " & $(parseInt(a) + parseInt(b)))
echo "sum: " & $(parseInt(a + parseInt(b)))
except OverflowError:
echo("overflow!")
echo "overflow!"
except ValueError:
echo("could not convert string to integer")
echo "could not convert string to integer"
except IOError:
echo("IO error!")
echo "IO error!"
except:
echo("Unknown exception!")
echo "Unknown exception!"
finally:
close(f)