Data update
This commit is contained in:
parent
35bcdeebf8
commit
74c69a0df6
2427 changed files with 31826 additions and 3468 deletions
|
|
@ -1,11 +1,10 @@
|
|||
try {
|
||||
die "I'm dead!"; # throws an exception of type 'error'
|
||||
die "I'm dead!" # throws an exception
|
||||
}
|
||||
catch { |msg|
|
||||
say "msg: #{msg}" # msg: I'm dead! at test.sf line 2.
|
||||
}
|
||||
catch { |type, msg|
|
||||
say "type: #{type}"; # type: error
|
||||
say "msg: #{msg}"; # msg: I'm dead! at test.sf line 2.
|
||||
};
|
||||
|
||||
say "I'm alive...";
|
||||
die "Now I'm dead!"; # this line terminates the program
|
||||
say "Or am I?"; # Yes, you are!
|
||||
say "I'm alive..."
|
||||
die "Now I'm dead!" # this line terminates the program
|
||||
say "Or am I?" # Yes, you are!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue