Family Day update

This commit is contained in:
Ingy döt Net 2020-02-17 23:21:07 -08:00
parent aac6731f2c
commit 9ad63ea473
2442 changed files with 39761 additions and 8255 deletions

View file

@ -0,0 +1,13 @@
package main
import (
"fmt"
"strings"
)
func main() {
var s strings.Builder
s.WriteString("foo")
s.WriteString("bar")
fmt.Print(s.String())
}

View file

@ -0,0 +1,3 @@
string msg = "hello";
msg += " world";
write(msg +"\n");

View file

@ -0,0 +1,4 @@
set "$str1" to "Hello "
inc "$str1" by "world!"
* "&$str1&"
end

View file

@ -0,0 +1,5 @@
fn main(){
let mut hello = String::from("Hello world");
hello.push_str("!!!!");
println!("{}", hello);
}

View file

@ -0,0 +1,5 @@
void main() {
string x = "foo";
x += "bar\n";
print(x);
}