![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: May 2005
Posts: 1
Rep Power: 0
![]() |
prolog help
I 've written this:
word(ousiastiko,[L1,L1]):- retract(ous(_)),assert(ous(L1)). but instead of inserting the specific value for L1 that it is used in the first part of the rule, it reconises L1 in the second part of the rule as a new variable(after this ous succeeds for every value) What's wrong??? |
|
|
|
|
|
#2 |
|
Newbie
Join Date: Jun 2005
Posts: 11
Rep Power: 0
![]() |
What does the rest of your code look like?
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|