almost equal rules problem
Roelof Wobben <[email protected]>
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <[email protected]> |
Hello, Im looking at a nice way to solve this. I have a problem with 2 ways to solve it. Sometimes I need this rule a and rule 2 so a,b Sometimes I need this rule1 or rule 2 so a;b I think I can solve it by using a if then. So like this in pseudo - code. If waarde = true then a,b else a;b Is there another maybe better way to solve this. Im looking at a solution at beginners level so I have not learn things like list or recursion. Roelof -------------- next part -------------- HTML attachment scrubbed and removed