rhea/assets/examples/string.rhea

10 lines
238 B
Plaintext
Raw Normal View History

2023-09-21 12:42:13 -05:00
// 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);
}