; Any page can import any other page (import common)

; Print something to the screen (print "
Print: ") (print "this is my text")

; Print something to the screen (print "
Markdown syntax: ") (markdown "

Hi there

  1. This is markdown
  2. It makes formatting easier. ")

; Concatination (print "
Concatination: ") (concat "put " "some " "text " "together")

; Conditional (print "
Conditional: ") (if (= 1 1) (print "they equal"))

; Conditional with else (print "
Conditional: ") ; try changing one of the '1's below and see the output change (if (= 1 1) (print "they equal") (print "they don't equal"))

; Print something to a particular dom item (print "
Print: ") (print "1 2 3 5 6 7") (print "test" "4")

; Defining a function (print "
Defining a function: ") (defun myfn (x) (concat "I just defined function and passed in: " x )) (myfn "some param")

; Function overriding (print "
Function overriding: ") (defun somefn (x) (concat "fn1: " x )) (defun somefn (x) (concat "fn2: " x )) (somefn "some param")

(print "
Length: ") (print (length (list 2 4 3))) (import common)

; Print something to the screen (print "
Print: ") (print "this is my text")

; Print something to the screen (print "
Markdown syntax: ") (markdown "

Hi there

  1. This is markdown
  2. It makes formatting easier. ")

; Concatination (print "
Concatination: ") (concat "put " "some " "text " "together")

; Conditional (print "
Conditional: ") (if (= 1 1) (print "they equal"))

; Conditional with else (print "
Conditional: ") ; try changing one of the '1's below and see the output change (if (= 1 1) (print "they equal") (print "they don't equal"))

; Print something to a particular dom item (print "
Print: ") (print "1 2 3 5 6 7") (print "test" "4")

; Defining a function (print "
Defining a function: ") (defun myfn (x) (concat "I just defined function and passed in: " x )) (myfn "some param")

; Function overriding (print "
Function overriding: ") (defun somefn (x) (concat "fn1: " x )) (defun somefn (x) (concat "fn2: " x )) (somefn "some param")

(print "
Length: ") (print (length (list 2 4 3)))

; Any page can import any other page (import common) ; Print something to the screen (print "
Print: ") (print "this is my text") ; Print something to the screen (print "
Markdown syntax: ") (markdown " ###Hi there 1. This is markdown 2. It makes formatting easier. ") ; Concatination (print "
Concatination: ") (concat "put " "some " "text " "together") ; Conditional (print "
Conditional: ") (if (= 1 1) (print "they equal")) ; Conditional with else (print "
Conditional: ") ; try changing one of the '1's below and see the output change (if (= 1 1) (print "they equal") (print "they don't equal")) ; Print something to a particular dom item (print "
Print: ") (print "1 2 3 5 6 7") (print "test" "4") ; Defining a function (print "
Defining a function: ") (defun myfn (x) (concat "I just defined function and passed in: " x )) (myfn "some param") ; Function overriding (print "
Function overriding: ") (defun somefn (x) (concat "fn1: " x )) (defun somefn (x) (concat "fn2: " x )) (somefn "some param") (print "
Length: ") (print (length (list 2 4 3))) (import common) ; Print something to the screen (print "
Print: ") (print "this is my text") ; Print something to the screen (print "
Markdown syntax: ") (markdown " ###Hi there 1. This is markdown 2. It makes formatting easier. ") ; Concatination (print "
Concatination: ") (concat "put " "some " "text " "together") ; Conditional (print "
Conditional: ") (if (= 1 1) (print "they equal")) ; Conditional with else (print "
Conditional: ") ; try changing one of the '1's below and see the output change (if (= 1 1) (print "they equal") (print "they don't equal")) ; Print something to a particular dom item (print "
Print: ") (print "1 2 3 5 6 7") (print "test" "4") ; Defining a function (print "
Defining a function: ") (defun myfn (x) (concat "I just defined function and passed in: " x )) (myfn "some param") ; Function overriding (print "
Function overriding: ") (defun somefn (x) (concat "fn1: " x )) (defun somefn (x) (concat "fn2: " x )) (somefn "some param") (print "
Length: ") (print (length (list 2 4 3)))