Family Day update
This commit is contained in:
parent
aac6731f2c
commit
9ad63ea473
2442 changed files with 39761 additions and 8255 deletions
4
Task/String-concatenation/Pike/string-concatenation.pike
Normal file
4
Task/String-concatenation/Pike/string-concatenation.pike
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
string hello = "hello ";
|
||||
write(hello + "world" + "\n");
|
||||
string all_of_it = hello + "world";
|
||||
write(all_of_it + "\n");
|
||||
|
|
@ -1,2 +1 @@
|
|||
with strings'
|
||||
"hello" "literal" append puts
|
||||
'hello_ 'literal s:append s:put
|
||||
|
|
|
|||
7
Task/String-concatenation/Vala/string-concatenation.vala
Normal file
7
Task/String-concatenation/Vala/string-concatenation.vala
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
void main() {
|
||||
var s = "hello";
|
||||
print(s);
|
||||
print(" literal\n");
|
||||
var s2 = s + " literal\n";
|
||||
print(s2);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue