Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
|
|
@ -0,0 +1,12 @@
|
|||
shared void run() {
|
||||
|
||||
//integers divided by zero throw an exception
|
||||
try {
|
||||
value a = 1 / 0;
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
//floats divided by zero produce infinity
|
||||
print(1.0 / 0 == infinity then "division by zero!" else "not division by zero!");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue