parent
d398c558a4
commit
16461a8810
1 changed files with 2 additions and 4 deletions
|
|
@ -4462,10 +4462,8 @@ Example:
|
|||
echo "sum: " & $(parseInt(a) + parseInt(b))
|
||||
except OverflowDefect:
|
||||
echo "overflow!"
|
||||
except ValueError:
|
||||
echo "could not convert string to integer"
|
||||
except IOError:
|
||||
echo "IO error!"
|
||||
except ValueError, IOError:
|
||||
echo "catch multiple exceptions!"
|
||||
except:
|
||||
echo "Unknown exception!"
|
||||
finally:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue