Since your variables are global (as you have not declared them as local to the function c:azi), they will be defined within the document namespace and will therefore be accessible by any other AutoLISP program whilst the drawing remains open.
Here is a basic example to demonstrate this principle:
(defun c:test1 ( )
;; Variable 'x' is global
(setq x (getint "\nEnter a number for variable 'x': "))
(princ)
)
(defun c:test2 ( )
(if (null x)
(princ "\nPlease run 'test1' first.")
(princ (strcat "\nx * 2 = " (itoa (* x 2))))
)
(princ)
)