PDA

View Full Version : The Common lisp support traditional chinese language?


aris63
01-07-2003, 05:58 PM
The dialog generator. I can,t use this

(sd-defdialog 'my_special_part_attr
:dialog-title "Part Attr"
:start-variable 'object
:variables
'(
(OBJECT
:value-type :part-assembly
:modifies :contents
:title "Part/Assy"
:prompt-text "Select a part or assembly."
:after-input
(progn
(setq material (bomattr-get-material object))
(setq partno (bomattr-get-partno object))
)
)

(MATERIAL
:range ("SECC 0.8t" "SECC 1.0t" "SECC 1.2t")
:title "Material"
:prompt-text "Enter material info."
)
.
.
.
)
:ok-action

If I use the range " " <--- Chinese language

The program running appear error message

why?

Markus
01-07-2003, 10:00 PM
What error message do you see?
Something like "xyz is not of type LISP::sequence"?

Markus

aris63
01-07-2003, 10:55 PM
yes. Something like "xyz is not of type LISP::sequence"?

Markus
01-08-2003, 07:37 AM
I checked with the expert and yes, there was a defect which will be fixed in OSDM 12.0.
You can use the following workaround though:


...
(MATERIAL
:range ("")
:initial-value (first (sd-set-range 'MATERIAL '("Chinese String 1" "Chinese String 2" "..."))))

Hope this helps.


Markus