1.0.0-update.1 • Published 3 years ago
taiga-lang v1.0.0-update.1
#you can even print two different things on the same line using a semicolon pr "Hello World"; pr "Hello Earth" -> output is: Hello World Hello Earth <-
#alternatively this
def helloWorld pr "Hello World" end helloWorld()
#output is: Hello World
#alternatively this
func helloWorld ret "Hello World" end pr helloWorld()
#output is: Hello World
#output is: The number is 1
#output is: The number is 4
-> output is: 0 1 2 3 4 5 6 7 8 9 <-
#output is: X and Y are equal and equal to 1
#output: X, Y, or both X and Y are equal to 2
-> output is: Hello World No Error! <-