📄 dyobjcst.exp
字号:
TRUECLIPS> (batch "dyobjcst.bat")TRUECLIPS> (load "dyobjcst.clp")####[CSTRNCHK1] 36 for slot float found in slot default valuedoes not match the allowed types.ERROR:(defclass MAIN::ERROR-1 (is-a BASE) (slot float (source composite) (default 36))#[CSTRNCHK1] Expression for slot float found in dynamic default valuedoes not match the allowed types.ERROR:(defclass MAIN::ERROR-2 (is-a BASE) (slot float (source composite) (default-dynamic (sym-cat abc)))#[CSTRNCHK1] 36.0 for slot float found in slot default valuedoes not match the allowed values.ERROR:(defclass MAIN::ERROR-3 (is-a DERIVE-1-2) (slot float (source composite) (default 36.0))#[CSTRNCHK1] () for slot any found in slot default valuedoes not satisfy the cardinality restrictions.ERROR:(defclass MAIN::ERROR-4 (is-a DERIVE-1-2) (slot any (source composite) (default))@FALSECLIPS> (describe-class BASE)================================================================================********************************************************************************Concrete: direct instances of this class can be created.Non-reactive: direct instances of this class cannot match defrule patterns.Direct Superclasses: USERInheritance Precedence: BASE USER OBJECTDirect Subclasses: DERIVE-1-1 DERIVE-1-2--------------------------------------------------------------------------------SLOTS : FLD DEF PRP ACC STO MCH SRC VIS CRT OVRD-MSG SOURCE(S)any : SGL STC INH RW LCL RCT EXC PRV W put-any BASEsymbol : SGL STC INH RW LCL RCT EXC PRV W put-symbol BASEstring : SGL STC INH RW LCL RCT EXC PRV W put-string BASElexeme : SGL STC INH RW LCL RCT EXC PRV W put-lexeme BASEinteger : SGL STC INH RW LCL RCT EXC PRV W put-integer BASEfloat : SGL STC INH RW LCL RCT EXC PRV W put-float BASEnumber : SGL STC INH RW LCL RCT EXC PRV W put-number BASEinstance-name : SGL STC INH RW LCL RCT EXC PRV W put-instance BASEinstance-address : SGL STC INH RW LCL RCT EXC PRV W put-instance BASEinstance : SGL STC INH RW LCL RCT EXC PRV W put-instance BASEexternal-address : SGL STC INH RW LCL RCT EXC PRV W put-external BASEfact-address : SGL STC INH RW LCL RCT EXC PRV W put-fact-add BASEaddress : SGL STC INH RW LCL RCT EXC PRV W put-address BASEConstraint information for slots:SLOTS : SYM STR INN INA EXA FTA INT FLTany : + + + + + + + + RNG:[-oo..+oo] symbol : + string : + lexeme : + + integer : + RNG:[-oo..+oo] float : + RNG:[-oo..+oo] number : + + RNG:[-oo..+oo] instance-name : + instance-address : + instance : + + external-address : + fact-address : + address : + + + --------------------------------------------------------------------------------Recognized message-handlers:init primary in class USERdelete primary in class USERprint primary in class USERdirect-modify primary in class USERmessage-modify primary in class USERdirect-duplicate primary in class USERmessage-duplicate primary in class USERput-any primary in class BASEput-symbol primary in class BASEput-string primary in class BASEput-lexeme primary in class BASEput-integer primary in class BASEput-float primary in class BASEput-number primary in class BASEput-instance-name primary in class BASEput-instance-address primary in class BASEput-instance primary in class BASEput-external-address primary in class BASEput-fact-address primary in class BASEput-address primary in class BASE********************************************************************************================================================================================CLIPS> (describe-class DERIVE-1-1)================================================================================********************************************************************************Concrete: direct instances of this class can be created.Non-reactive: direct instances of this class cannot match defrule patterns.Direct Superclasses: BASEInheritance Precedence: DERIVE-1-1 BASE USER OBJECTDirect Subclasses:--------------------------------------------------------------------------------SLOTS : FLD DEF PRP ACC STO MCH SRC VIS CRT OVRD-MSG SOURCE(S)symbol : SGL STC INH RW LCL RCT EXC PRV W put-symbol BASEstring : SGL STC INH RW LCL RCT EXC PRV W put-string BASElexeme : SGL STC INH RW LCL RCT EXC PRV W put-lexeme BASEinteger : SGL STC INH RW LCL RCT EXC PRV W put-integer BASEfloat : SGL STC INH RW LCL RCT EXC PRV W put-float BASEnumber : SGL STC INH RW LCL RCT EXC PRV W put-number BASEinstance-name : SGL STC INH RW LCL RCT EXC PRV W put-instance BASEinstance-address : SGL STC INH RW LCL RCT EXC PRV W put-instance BASEinstance : SGL STC INH RW LCL RCT EXC PRV W put-instance BASEexternal-address : SGL STC INH RW LCL RCT EXC PRV W put-external BASEfact-address : SGL STC INH RW LCL RCT EXC PRV W put-fact-add BASEany : SGL STC INH RW LCL RCT CMP PRV W put-any BASE DERIVE-1-1address : MLT STC INH RW LCL RCT CMP PRV W put-address BASE DERIVE-1-1Constraint information for slots:SLOTS : SYM STR INN INA EXA FTA INT FLTsymbol : + string : + lexeme : + + integer : + RNG:[-oo..+oo] float : + RNG:[-oo..+oo] number : + + RNG:[-oo..+oo] instance-name : + instance-address : + instance : + + external-address : + fact-address : + any : # # # # # # # # RNG:[-oo..+oo] address : + + + CRD:[2..3]--------------------------------------------------------------------------------Recognized message-handlers:init primary in class USERdelete primary in class USERprint primary in class USERdirect-modify primary in class USERmessage-modify primary in class USERdirect-duplicate primary in class USERmessage-duplicate primary in class USERput-any primary in class BASEput-symbol primary in class BASEput-string primary in class BASEput-lexeme primary in class BASEput-integer primary in class BASEput-float primary in class BASEput-number primary in class BASEput-instance-name primary in class BASEput-instance-address primary in class BASEput-instance primary in class BASEput-external-address primary in class BASEput-fact-address primary in class BASEput-address primary in class BASEput-any primary in class DERIVE-1-1put-address primary in class DERIVE-1-1********************************************************************************================================================================================CLIPS> (describe-class DERIVE-1-2)================================================================================********************************************************************************Concrete: direct instances of this class can be created.Non-reactive: direct instances of this class cannot match defrule patterns.Direct Superclasses: BASEInheritance Precedence: DERIVE-1-2 BASE USER OBJECTDirect Subclasses:--------------------------------------------------------------------------------SLOTS : FLD DEF PRP ACC STO MCH SRC VIS CRT OVRD-MSG SOURCE(S)symbol : SGL STC INH RW LCL RCT EXC PRV W put-symbol BASEstring : SGL STC INH RW LCL RCT EXC PRV W put-string BASElexeme : SGL STC INH RW LCL RCT EXC PRV W put-lexeme BASEinteger : SGL STC INH RW LCL RCT EXC PRV W put-integer BASEnumber : SGL STC INH RW LCL RCT EXC PRV W put-number BASEinstance-name : SGL STC INH RW LCL RCT EXC PRV W put-instance BASEinstance-address : SGL STC INH RW LCL RCT EXC PRV W put-instance BASEinstance : SGL STC INH RW LCL RCT EXC PRV W put-instance BASEexternal-address : SGL STC INH RW LCL RCT EXC PRV W put-external BASEfact-address : SGL STC INH RW LCL RCT EXC PRV W put-fact-add BASEaddress : SGL STC INH RW LCL RCT EXC PRV W put-address BASEany : MLT STC INH RW LCL RCT CMP PRV W put-any BASE DERIVE-1-2float : SGL STC INH RW LCL RCT CMP PRV W put-float BASE DERIVE-1-2Constraint information for slots:SLOTS : SYM STR INN INA EXA FTA INT FLTsymbol : + string : + lexeme : + + integer : + RNG:[-oo..+oo] number : + + RNG:[-oo..+oo] instance-name : + instance-address : + instance : + + external-address : + fact-address : + address : + + + any : + + + + + + + + RNG:[-oo..+oo] CRD:[3..5]float : # RNG:[-oo..+oo] --------------------------------------------------------------------------------Recognized message-handlers:init primary in class USERdelete primary in class USERprint primary in class USERdirect-modify primary in class USERmessage-modify primary in class USERdirect-duplicate primary in class USERmessage-duplicate primary in class USERput-any primary in class BASEput-symbol primary in class BASEput-string primary in class BASEput-lexeme primary in class BASEput-integer primary in class BASEput-float primary in class BASEput-number primary in class BASEput-instance-name primary in class BASEput-instance-address primary in class BASEput-instance primary in class BASEput-external-address primary in class BASEput-fact-address primary in class BASEput-address primary in class BASEput-any primary in class DERIVE-1-2put-float primary in class DERIVE-1-2********************************************************************************================================================================================CLIPS> (reset)CLIPS> (defglobal ?*iaddress* = (instance-address [base]))CLIPS> (send [base] put-symbol 34)[CSTRNCHK1] 34 for slot symbol of instance [base] found in put-symbol primary in class BASEdoes not match the allowed types.[PRCCODE4] Execution halted during the actions of message-handler put-symbol primary in class BASEFALSECLIPS> (send [base] put-fact-address ?*iaddress*)[CSTRNCHK1] <Instance-base> for slot fact-address of instance [base] found in put-fact-address primary in class BASEdoes not match the allowed types.[PRCCODE4] Execution halted during the actions of message-handler put-fact-address primary in class BASEFALSECLIPS> (set-dynamic-constraint-checking FALSE)TRUECLIPS> (send [base] put-fact-address ?*iaddress*)<Instance-base>CLIPS> (set-dynamic-constraint-checking TRUE)FALSECLIPS> (send [base] put-instance-address ?*iaddress*)<Instance-base>CLIPS> (send [base] put-external-address ?*iaddress*)[CSTRNCHK1] <Instance-base> for slot external-address of instance [base] found in put-external-address primary in class BASEdoes not match the allowed types.[PRCCODE4] Execution halted during the actions of message-handler put-external-address primary in class BASEFALSECLIPS> (send [base] put-address ?*iaddress*)<Instance-base>CLIPS> (send [derive-1-1] put-address)[CSTRNCHK1] () for slot address of instance [derive-1-1] found in put-address primary in class DERIVE-1-1does not satisfy the cardinality restrictions.[PRCCODE4] Execution halted during the actions of message-handler put-address primary in class DERIVE-1-1FALSECLIPS> (send [derive-1-1] put-address ?*iaddress*)[CSTRNCHK1] (<Instance-base>) for slot address of instance [derive-1-1] found in put-address primary in class DERIVE-1-1does not satisfy the cardinality restrictions.[PRCCODE4] Execution halted during the actions of message-handler put-address primary in class DERIVE-1-1FALSECLIPS> (send [derive-1-1] put-address ?*iaddress* ?*iaddress*)(<Instance-base> <Instance-base>)CLIPS> (send [derive-1-1] put-address ?*iaddress* ?*iaddress* ?*iaddress*)(<Instance-base> <Instance-base> <Instance-base>)CLIPS> (send [derive-1-1] put-address ?*iaddress* ?*iaddress* ?*iaddress* ?*iaddress*)[CSTRNCHK1] (<Instance-base> <Instance-base> <Instance-base> <Instance-base>) for slot address of instance [derive-1-1] found in put-address primary in class DERIVE-1-1does not satisfy the cardinality restrictions.[PRCCODE4] Execution halted during the actions of message-handler put-address primary in class DERIVE-1-1FALSECLIPS> (send [derive-1-1] put-any 45)[CSTRNCHK1] 45 for slot any of instance [derive-1-1] found in put-any primary in class DERIVE-1-1does not match the allowed values.[PRCCODE4] Execution halted during the actions of message-handler put-any primary in class DERIVE-1-1FALSECLIPS> (send [derive-1-1] put-any 123 123)[INSFUN7] (123 123) illegal for single-field slot any of instance [derive-1-1] found in put-any primary in class DERIVE-1-1.[PRCCODE4] Execution halted during the actions of message-handler put-any primary in class DERIVE-1-1FALSECLIPS> (send [derive-1-1] put-any 7.34)[CSTRNCHK1] 7.34 for slot any of instance [derive-1-1] found in put-any primary in class DERIVE-1-1does not match the allowed values.[PRCCODE4] Execution halted during the actions of message-handler put-any primary in class DERIVE-1-1FALSECLIPS> (send [derive-1-1] put-any def)[CSTRNCHK1] def for slot any of instance [derive-1-1] found in put-any primary in class DERIVE-1-1does not match the allowed values.[PRCCODE4] Execution halted during the actions of message-handler put-any primary in class DERIVE-1-1FALSECLIPS> (send [derive-1-1] put-any "abc")[CSTRNCHK1] "abc" for slot any of instance [derive-1-1] found in put-any primary in class DERIVE-1-1does not match the allowed values.[PRCCODE4] Execution halted during the actions of message-handler put-any primary in class DERIVE-1-1FALSECLIPS> (send [derive-1-1] put-any "def")"def"CLIPS> (send [derive-1-1] put-any 5.0)5.0CLIPS> (send [derive-1-1] put-any 123)123CLIPS> (dribble-off)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -