aboutsummaryrefslogtreecommitdiff
path: root/code
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2017-01-26 20:00:16 +0000
committerGinger Bill <bill@gingerbill.org>2017-01-26 20:00:16 +0000
commite3e16f5d051c2b941d5e4ee1a64b235286a85cdf (patch)
treea145c1c0a2a2e9d0bb6111f92c6ddc3a79339df2 /code
parentf47f25f9420e094f9eafe68b0844b860033da7cc (diff)
Library names - Only link with used foreign libraries
Diffstat (limited to 'code')
-rw-r--r--code/demo.odin15
1 files changed, 1 insertions, 14 deletions
diff --git a/code/demo.odin b/code/demo.odin
index 38ed7a94a..88aa651c0 100644
--- a/code/demo.odin
+++ b/code/demo.odin
@@ -9,21 +9,8 @@
#import "sync.odin";
#import "utf8.odin";
-
main :: proc() {
- b : [1000]byte;
-
- using fmt;
-
- println();
- println("Pointer of Address 0");
- println(^b[0]);
- println();
- println("Pointer of Address 50");
- println(^b[50]);
- println();
- println("Difference between 50 and 0");
- println(^b[50] - ^b[0]);
+ fmt.println("GOOGOLPLEX");
}
/*