From 6c2772d09338f044096240eeb01aa09d11ddda59 Mon Sep 17 00:00:00 2001 From: Ginger Bill Date: Thu, 3 Nov 2016 16:26:22 +0000 Subject: Scrap Virtual Machine and begin again I just didn't like the style of it. --- code/demo.odin | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'code') diff --git a/code/demo.odin b/code/demo.odin index 991650ca0..ee353c884 100644 --- a/code/demo.odin +++ b/code/demo.odin @@ -23,5 +23,10 @@ main :: proc() { } foo() - x := test("Hello") + x = test("Hello").count as i64 + xp := ^x + p := xp^ + + z := [..]i64{1, 2, 3, 4} + z[0] = p } -- cgit v1.2.3