|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
|||
|
|||
|
Other Language - Prolog - putting in a list
hi,
I am new to prolog. In order for me to generate a list of characters, this is what i did:- test:-name(N,[65,66,67,68]), write(N),!. ABCD The problem is that at times, i want N to sometimes be A and sometimes, AB, or some times, ABC, or even some times, ABCD. Could anyone give me any rough idea on how to do it. Much appreciated. thanks. zee ![]() |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Other Programming Languages > Other Language - Prolog - putting in a list |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|