Search found 28 matches

by fred malack
3 Jun 2014 21:24
Forum: Visual Prolog
Topic: Help me to fix this button.
Replies: 2
Views: 1362

Help me to fix this button.

Hello i need help unfortunately when i was designing The dialog i deleted the default ok button And i placed another button i want when i click ok to close it. Predicates OnOkClick : button :: clickResponder. clauses OnOkClick(_Source) = button:: defaultAction. _ = listparent::destroy(This). It give...
by fred malack
3 Jun 2014 15:29
Forum: Visual Prolog
Topic: Please i need help on how i can fix the following error please.
Replies: 2
Views: 1226

Thanx alot

Thanx alot i will implement that and i will be copying and paste the whole code
Thank you alot...
by fred malack
3 Jun 2014 13:18
Forum: Visual Prolog
Topic: Expert system(medical diagnosis system)
Replies: 19
Views: 10777

Thanx

Thanx and i understand thank u...
by fred malack
3 Jun 2014 13:15
Forum: Visual Prolog
Topic: Please i need help on how i can fix the following error please.
Replies: 2
Views: 1226

Please i need help on how i can fix the following error please.

I question that concerned with Output the diagnose diseases Predicates gradeDisease: (name Patient) nondeterm. clauses gradeDisease(Patient,Disease), VpiCommonDialogs::note(Patient,tostring(Disease)). The above code output the name of the patient and the disease.. I changed the clauses part so that ...
by fred malack
3 Jun 2014 10:27
Forum: Visual Prolog
Topic: Expert system(medical diagnosis system)
Replies: 19
Views: 10777

Thanx alot sir i managed to solve the problem of retract

I have another question that concerned with Output the diagnose diseases Predicates gradeDisease: (name Patient) nondeterm. clauses gradeDisease(Patient,Disease), VpiCommonDialogs::note(Patient,tostring(Disease)). The above code output the name of the patient and the disease.. I changed the clauses ...
by fred malack
3 Jun 2014 8:06
Forum: Visual Prolog
Topic: Expert system(medical diagnosis system)
Replies: 19
Views: 10777

Thanx alot ...

thaanx alot i have i did implement it thanks
But it gives me one error(undeclared predicate or fact 'diagnosis/0'
by fred malack
3 Jun 2014 5:36
Forum: Visual Prolog
Topic: Hi.i need help on how to apply retract after diagnosis
Replies: 6
Views: 1912

Hi..i have tried to implement it gives me error

Code: Select all

  Facts      Symptom:(name,indicator) nondeterm.   Clauses       retractAll(symptom(_,_)).
That is how i tried to implement retract so it remove all the previous
Data from symptom but it gives me error please i need help to be able to implement
It....
by fred malack
3 Jun 2014 4:01
Forum: Visual Prolog
Topic: Hi.i need help on how to apply retract after diagnosis
Replies: 6
Views: 1912

Thaaanx alot...

Thaanx but should i place retractAll(_,_)
Inside a predicate or where should i place it?? :cry:
by fred malack
3 Jun 2014 3:56
Forum: Visual Prolog
Topic: Hi.i need help on how to apply retract after diagnosis
Replies: 6
Views: 1912

Thanx alot ...

Should i put it in a predicate where should i place it sir...
...thanx alooot sir
by fred malack
2 Jun 2014 18:46
Forum: Visual Prolog
Topic: Hi.i need help on how to apply retract after diagnosis
Replies: 6
Views: 1912

Hi.i need help on how to apply retract after diagnosis

Code: Select all

Facts    Symptom:(name,indicator) nondeterm.  
I have number of assert in the code i want to retract
Just after diagnosis please i need help cz i have to implement
It plz...
by fred malack
2 Jun 2014 18:31
Forum: Visual Prolog
Topic: Hello i need help on how to change the backgroundcolor and button.
Replies: 2
Views: 1274

Hi

Thanx alot.. But i tried alot but i couldnt implement it
Positively.....
by fred malack
2 Jun 2014 15:30
Forum: Visual Prolog
Topic: commondialogs::tryGet_string
Replies: 10
Views: 2821

Thanx alot mr.thomas please help me i have another prolem.

In the above code i posted of my project i want To be able to alert a message when the patient is not Diagnose implement taskWindow inherits applicationWindow open core, vpiDomains constants mdiProperty : boolean = true. clauses new():- applicationWindow::new(), generatedInitialize(). constants txt_...
by fred malack
2 Jun 2014 1:10
Forum: Visual Prolog
Topic: Hello i need help on how to change the backgroundcolor and button.
Replies: 2
Views: 1274

Hello i need help on how to change the backgroundcolor and button.

Hello... I realy need help on how i can change the background
Color of the dialogs and forms that i am using in my personal edition
Also i want to be able to add a picture and decorate the button please i need help.
by fred malack
1 Jun 2014 17:40
Forum: Visual Prolog
Topic: commondialogs::tryGet_string
Replies: 10
Views: 2821

I need help on how to clear the data in editcontrol

I want to clear the textfield after i save so that i can enter new data. Predicates OnPushButtonClick : button :clickResponder. Clauses OnPushButtonClick(_sources) = button :defaultAction() :- Fname = fname_ctl:gettext(), Mname = mname_ctl:gettext(), Person::addPerson( Fname , Mname), Person :: save...
by fred malack
1 Jun 2014 6:09
Forum: Visual Prolog
Topic: Expert system(medical diagnosis system)
Replies: 19
Views: 10777

I want to temporarily store the data and delete right after diagnosis

I really need help guys because i have find out that by using assert the data keep on adding so whenever i diagnose the disease what happens is that it gives the previous disease and the new disease please i have presentation tomorrow i need to replace it with something that stores data temporarily ...