On 25/09/2019 07:37, bustiakim via ECLiPSe-CLP-Users wrote: > > Hello, > > My Eclipse Clp skills are quite basic as well as my English level. But I have > done a project in which I would like to use the Tcl / Tk environment to enter > data and then transfer it to Eclipse. > > I have been looking at the Embedding and Interfacing Manual with the queues > examples but I cannot move forward. > > My purpose is that every time I need the intervention of the operator be able to > use the Tk graphic environment to capture data, and then to transfer this data > to Eclipse Clp in order to continue the process. > I would also need to transfer data backwards from Eclipse to Tcl / Tk. > > I would appreciate if you could send me a complete code example that runs > correctly so I can learn about the communication and thus get applied to my project. > > Thank you very much in advance. > > Joaquim Torrellas Hi Joaquim, I admit that the Embedding Manual is not the easiest to understand ;) You can find some examples in the lib_tcl directory of your ECLiPSe installation. In addition, I have just uploaded one example showing the kind of queue communication that you are looking for, see http://eclipseclp.org/wiki/Examples/TclTkExamples Cheers, JoachimReceived on Wed Sep 25 2019 - 20:53:45 CEST
This archive was generated by hypermail 2.3.0 : Wed Sep 25 2024 - 15:13:21 CEST