Thank you !! Yes, now it's better... but i'm not sure to understand the "library" concept...<div><br></div><div>On my project, I have 3 files : </div><div><br></div><div>projet_class.rkt : all class are defined here (porte% etc...)</div>
<div>it starts with (provide (all-defined-out))</div><div><br></div><div>projet_definitions.rkt : most of all definitions I use in projet_interface.rkt are defined here</div><div>it also starts with (provide (all-defined-out))</div>
<div><br></div><div>projet_interface.rkt :all the interface, buttons, canvas etc... the main file </div><div>it starts with (require "projet_definitions.rkt" "project_class.rkt")</div><div><br></div><div>
But... where is my "library" ? Because if I write (defmod "projet_class.rkt"), it works (porte% is recognized in my doc), but it doesn't work for my definitions (defproc ...) (which are originally defined in project_definitions.rkt). </div>
<div>So, where do I have to mention "project_definitions.rkt" ?</div><div><br></div><div><br></div><div>And just one more question : </div><div><br></div><div>If I write this : @racket[porte%] it works (I have a link with the definition of the class porte%)</div>
<div>But if I write the same but with a method of porte% "get-val-out" : @racket[get-val-out] it doesn't work (it's not a link) whereas get-val-out is recognized as a method of porte% (I mean, in his definition it's a real link, in blue). Can I fix that ?</div>
<div><br></div><div>Thanks for your help !</div><div>Quentin Rinaldi</div>