I am not new to Prolog ( Turbo Prolog 1 and then Turbo Prolog 2 ) and I like it. I am a good "C" programmer ( classic K&R ) and I like it but, in fact, I dislike OOP which give me nightmares.
If in one file ( say "mydialog.pro" ) I declare two radioButton ( radioButton_ctl, radioButton2_ctl) for exemple.
From inside "mydialog.pro" if I want to enable/disable each of one or the two, I don't have any problem but if I want to get the same action, externaly, from say "mytwo.pro", I get issue(s)
Even if I declare a predicate in "mydialog.pro" called from "mytwo.pro", I obtain a result like
"error c229 : Undeclared identifier 'mydialog::radioButton_ctl'"
The calling predicate acts correctly ( tested with a simple call to a message ), inside "mydialog.pro" the two radioButtons seems to be unknown even declared correctly as they works fine.
I read and re-read tips and tricks, forums to find alone a solution but, at this time, I don't feel comfortable with OOP, sorry.
Visual P. is a VERY powerfull soft, the IDE is perfect, it compiles very fastly and the "*.exe" is light but, in fact, the problem is me.
Here is screen part of my medical ( homeopathic ) program in development...
Warm regards
Michel (from France).
