From 659e5359b2399927ffdd44d441d41a8a6e96228a Mon Sep 17 00:00:00 2001 From: Ginger Bill Date: Sun, 8 Jan 2017 01:10:55 +0000 Subject: fmt.printf - Go style due to runtime type safety --- code/demo.odin | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'code') diff --git a/code/demo.odin b/code/demo.odin index 420ce5533..1fe4c564d 100644 --- a/code/demo.odin +++ b/code/demo.odin @@ -1,7 +1,21 @@ #import "fmt.odin"; main :: proc() { - x := "-stats"; - y := "-begin"; - fmt.println(x == y); + fmt.printf("%f", 123); } + +/* +Standard Library Development: +* Formatted printf +* The Variable +* math + - Trig + - Random + - atoi +* Memory allocation +* File IO +* Timing + - Regular and OS + + +*/ -- cgit v1.2.3