[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A question about list

From: 赵阳
Subject: A question about list
Date: Mon, 23 Oct 2006 09:39:54 +0800 (CST)

Hi, all:
I am a beginner in GNU prolog and now encounter a problem. Given a list that has been instantiated, I want to get its first element and assign its value to a variable. How can I do it? I have tried nth(1, List, Var), but it does not help. Could any body tell me?


美 女 恐 怖 败 家 秀 ( 组 图 )
独 家 披 露 ! 小 资 女 人 8 个 绝 顶 隐 秘 的 趣 事 ( 组 图 )
reply via email to

[Prev in Thread] Current Thread [Next in Thread]