Subject: [SWIPL] Input numbers

From: Rastei Amelia Viorela <[email-masked]>
Date: Fri, 15 Dec 2000 11:23:06 +0200 (EET)

I want to read from the standard input integers 

   I tried: ?-readln(X).
	    |: 2 3
	    X=[2,3].

   Till now it's fine. But how can I use separately the values 2,3
   It is X a list of numbers? So I can use the functions nth1 or nth0??? 

 Amelia Rastei,
 Dept. Computer Science,
 Babes Bolyai University,
 Cluj Napoca, Romania.