Bonjour a tous,
je suis sur un problème dans mon développement
j'ai créé un package license (defpackage license) et un class license (defclass license ...)
lorsque je démarre un session lisp je entre dans mon package
(in-package :license)
puis je tape ma method qui est (verif-license)
Code : Sélectionner tout - Visualiser dans une fenêtre à part #<The LICENSE package>
je reçoit bien les bonnes infos et mon object et bien instancié.
describe de mon object:
par contre sur je suis dans la package cl-user et que je rentre
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14 #<LICENSE @ #x225847fa> is an instance of #<STANDARD-CLASS LICENSE>: The following slots have :INSTANCE allocation: MARKER NIL LOCK NIL REPOSITORY_ID "IDL:Atdidt/license:1.0" NAME "my Team" COMPANY "team" EMAIL "info@team.be" START "20050901" END "20080101" SYSTEM "windows" HARDKEY "nil"
(license:verif-license) il execute la method mais l'instanciation ne se fait pas correctement...
je n'ai plus d'idées... et vous une petite pour m'aider ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12 #<STANDARD-CLASS LICENSE::LICENSE>: The following slots have :INSTANCE allocation: MARKER NIL LOCK NIL REPOSITORY_ID "IDL:Atdidt/licenseuser:1.0" NAME NIL COMPANY NIL EMAIL NIL START NIL END NIL SYSTEM NIL HARDKEY "truc"
Partager