Maybe a copy & paste error. Try these reformatted:
;;AUTOLISP CODING STARTS HERE
(defun C:TEST_DCL1 (/ dcl_id)
(setq dcl_id (load_dialog "test_dcl1.dcl"))
(if (new_dialog "test_dcl1" dcl_id)
(progn
(action_tile "accept" "(done_dialog)")
(start_dialog)
(unload_dialog dcl_id)
)
)
(princ)
) ;defun
(prompt "\nType TEST_DCL1 to run...")
(princ)
;;AUTOLISP CODING ENDS HERE
//DCL CODING STARTS HERE
test_dcl1 : dialog
{label = "Test Dialog No 1";
: text { label = "This is a Test Message"; alignment = centered; }
: button { key = "accept"; label = "Close"; is_default = true;
fixed_width = true; alignment = centered; }
}
//DCL CODING ENDS HERE
And welcome