From e70ce4ba799702be17edda57c893a1d9037c8cd7 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sun, 5 Oct 2014 10:41:14 -0700 Subject: 99 - edit.mu looks much cleaner now --- edit.mu | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) (limited to 'edit.mu') diff --git a/edit.mu b/edit.mu index 5ac6e043..5d2e3fa8 100644 --- a/edit.mu +++ b/edit.mu @@ -1,25 +1,16 @@ (main (cls) - ((x1 integer) <- literal 10) - ((y1 integer) <- literal 5) - (cursor (x1 integer) (y1 integer)) - ((s string) <- literal "Hello, ") - (print (s string)) + (cursor (10 literal) (5 literal)) + (print ("Hello, " literal)) (bold-mode) - ((s string) <- literal "you") - (print (s string)) + (print ("you" literal)) (non-bold-mode) - ((s string) <- literal ".") - (print (s string)) - ((x2y2 integer) <- literal 1) - (cursor (x2y2 integer) (x2y2 integer)) - ((s string) <- literal "Press a key...") - (print (s string)) + (print ("." literal)) + (cursor (1 literal) (1 literal)) + (print ("Press a key..." literal)) ((key string) <- getc) (cll) - ((s string) <- literal "You pressed: ") - (print (s string)) + (print ("You pressed: " literal)) (print (key string)) - ((s string) <- literal "\n") - (print (s string)) + (print ("\n" literal)) ) -- cgit 1.4.1-2-gfad0 fs log tree commit diff stats
path: root/themes/hacker
blob: 7531ec88a5a5971df11b50ede029c5ae0531d0c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36