Here I show strings and console input and output. I also show a very large example of a console based calculator. I also show multiple return types, handling errors and deleting heap variables.
Timestamps:
0:00 string type
1:13 inbuilt functions with multiple return types and defer delete
4:10 Console output
4:47 Large example of a calculator
5:39 Console loop with input
7:45 Process input with trim_space
8:25 Process equation with Enums
9:13 Generate_equation with fields
9:40 how multiple return types work
10:19 Custom parse int
13:00 Printing the equation finally
13:58 Testing things
Link to my Odin Tutorial Project:
https://github.com/hcsalmon1/Odin-Tut...
Link to gingerBill's Youtube channel:
/ @gingergames
Try out my game Chess Tools here, for anyone wanting to learn chess:
https://store.steampowered.com/app/27...