Here's some code that works as I expected:
dyn.clj
(println *value*)
test.clj
(def *value* 'ok)
(defn test-eval []
(load-file dyn.clj))
(test-eval)
= 'ok
But when run in an event handler it fails:
test.clj
(import '(javax.swing JButton JFrame)
I'm attempting what should be a simple transformation using a macro
called dlg in the following code:
(defn fld [parent lay id text field]
'...)
;; dlg macro. For this input:
;;
;; (dlg test
;; (field fld-1 Field number one (JTextField.))
;; (field fld-2 Field number two (JTextField.)))
;;