rhea/assets/examples/string.rhea
2023-09-21 12:42:13 -05:00

10 lines
238 B
Plaintext

// This string ***MUST*** never be edited
const b_string = "XYZ";
func main() {
var a_string = "ABC";
// strings may be added together
var fmt = a_string + " length " + a_string.len;
// print may only take one argument
print(fmt);
}