concatenation.
Syntax:
: concatenation {
}
The concatenation tile is defined in the Base.Dcl file.
DCL Coding:
lisp48t : dialog { //dialog name
label = "concatenation" ; //give it a label
: concatenation { //define concatenation
: text_part { //text part
label = "This is a"; //add text
} //end text
: text_part { //text part
label = "concenantation"; //add text
} //end text
: text_part { //text part
label = "of words"; //add text
} //end text
} //end concatenation
ok_cancel ; //predefined OK/Cancel button
} //end dialog
AutoLisp Coding:
(defun C:lisp48t ()
;define function
(setq dcl_id (load_dialog "lisp48t.dcl"))
;load dialog
(if (not (new_dialog "lisp48t" dcl_id)
;test for dialog
);not
(exit)
;exit if no dialog
);if
(action_tile
"accept"
;if O.K. pressed
"(done_dialog) (setq userclick T)"
;close dialog, set flag
);action tile
(action_tile
"cancel"
;if cancel button pressed
"(done_dialog) (setq userclick nil)"
;close dialog, lower flag
);action_tile
(start_dialog)
;start dialog
(unload_dialog dcl_id)
;unload
(if userclick
;if OK selected
(alert "You selected OK")
;inform the user
(alert "You selected Cancel")
;inform the user
);if
(princ)
);defun
(princ)
|