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
2
Task/Variables/Phix/variables-1.phix
Normal file
2
Task/Variables/Phix/variables-1.phix
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
integer x = 25, y = 25, z
|
||||
object {a, b, c} = {{}, 5, "string"}
|
||||
6
Task/Variables/Phix/variables-2.phix
Normal file
6
Task/Variables/Phix/variables-2.phix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
type hour(integer x)
|
||||
return x >= 0 and x <= 23
|
||||
end type
|
||||
hour h1, h2
|
||||
h1 = 10 -- ok
|
||||
h2 = 25 -- error! program aborts with a message
|
||||
Loading…
Add table
Add a link
Reference in a new issue