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
6
Task/Call-a-function/Phix/call-a-function-3.phix
Normal file
6
Task/Call-a-function/Phix/call-a-function-3.phix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
function myfunction(integer a, string b="default")
|
||||
return {a,b}
|
||||
end function
|
||||
--? myfunction() -- illegal, compile-time error
|
||||
?myfunction(1) -- displays {1,"default"}
|
||||
?myfunction(2,"that") -- displays {2,"that"}
|
||||
Loading…
Add table
Add a link
Reference in a new issue