Another update from ingydotnet^djgoku
This commit is contained in:
parent
91df62d461
commit
948b86eafa
7604 changed files with 108452 additions and 22726 deletions
13
Task/String-prepend/Elena/string-prepend.elena
Normal file
13
Task/String-prepend/Elena/string-prepend.elena
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#import system.
|
||||
|
||||
#symbol program =
|
||||
[
|
||||
#var s := "World".
|
||||
s := "Hello " + s.
|
||||
console writeLine:s.
|
||||
|
||||
// Alternative way
|
||||
#var s2 := String new:"World".
|
||||
s2 insert:"Hello " &at:0.
|
||||
console writeLine:s2.
|
||||
].
|
||||
Loading…
Add table
Add a link
Reference in a new issue