Thom Ivancso
06-12-2004, 10:56 AM
Hello all,
I have here two sub-functions that I have used in the past in writing LISP routines in OSDM, this code worked fine running OSDM 11.60 on HP UNIX, but for the life of me it will not run under windows and OSDM 12.01C.
I keep getting the error *LISP-ACTION-EVENT* is unbound.
(defun get-gport-name ()
(let* ((name (uib::widget-name *lisp-action-widget*))
(vp (format nil "~A" (first (sd-string-split name "_"))))
)
vp
)
)
(defun get-gport-pick ()
(let* ((event *lisp-action-event*))
(format nil "(make-gpntwc-from-dcvp ~A ~A ~S)"
(hclx:get-XButtonEvent-x event)
(hclx:get-XButtonEvent-y event) (get-gport-name)
)
)
)
If someone could take a look at these and tell me if the syntax is still okay or has something been changed in recent upgrades in the OSDM source code that would prohibit these from working.
Cheers
Thom
I have here two sub-functions that I have used in the past in writing LISP routines in OSDM, this code worked fine running OSDM 11.60 on HP UNIX, but for the life of me it will not run under windows and OSDM 12.01C.
I keep getting the error *LISP-ACTION-EVENT* is unbound.
(defun get-gport-name ()
(let* ((name (uib::widget-name *lisp-action-widget*))
(vp (format nil "~A" (first (sd-string-split name "_"))))
)
vp
)
)
(defun get-gport-pick ()
(let* ((event *lisp-action-event*))
(format nil "(make-gpntwc-from-dcvp ~A ~A ~S)"
(hclx:get-XButtonEvent-x event)
(hclx:get-XButtonEvent-y event) (get-gport-name)
)
)
)
If someone could take a look at these and tell me if the syntax is still okay or has something been changed in recent upgrades in the OSDM source code that would prohibit these from working.
Cheers
Thom