From DMiles@keanesea.com  Fri Sep 24 17:42:14 1999
Received: from seahd2.keanesea.com (mta.keanesea.com [207.175.79.17])
	by swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id RAA25315
	for <prolog@swi.psy.uva.nl>; Fri, 24 Sep 1999 17:42:14 +0200 (MET DST)
Received: by SEAHD2 with Internet Mail Service (5.0.1461.28)
	id <PMDMX7H4>; Fri, 24 Sep 1999 08:40:35 -0700
Message-ID: <41125BB0CE9CD111BA9200A02480781EBBC628@SEA-EXCH1>
From: "Miles, Douglas" <DMiles@keanesea.com>
To: "'prolog@swi.psy.uva.nl'" <prolog@swi.psy.uva.nl>
Subject: VARS in listing/1
Date: Fri, 24 Sep 1999 08:33:46 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.0.1461.28)
Content-Type: text/plain

i have been working on a chatroom irc program for SWI prolog for many
months.. i use the tcp extension saved in the alpha dirrectory. but before
this i was limited to BinProlog because SWI has no native tcp/ip support...
Hopefully soon i can contribute to such a project.. Currectly I am higher up
the OSI model at the level of IRC chat protocol.  It was a slow climb.. and
still is rough... 
today i am having a problem that when i save ...
save_myfile:-told(myfile),
	listing(mypred),
	told.

It fills in my variable names.. but sometime i have "_" in my variables...
so when i reconsult it i get the singleton variable warnings... this is not
too bad.. but my database is 30MB.. so i get a lot of 
[WARNING: (/usr/local/lib/pl-3.2.8/library/allwn.pl:195955)
        Singleton variables: A, B]
[WARNING: (/usr/local/lib/pl-3.2.8/library/allwn.pl:195956)
        Singleton variables: A, B]
[WARNING: (/usr/local/lib/pl-3.2.8/library/allwn.pl:195957)
        Singleton variables: A, B]
[WARNING: (/usr/local/lib/pl-3.2.8/library/allwn.pl:195958)
        Singleton variables: A, B]

this file has a normal 45 second consult time :)
-rw-rw-r--   1 nobody   nobody   10480609 Sep 24 06:44 allwn.pl

this is what my data looks like after the listing...
wn(ent, 201045069, A, 201073112, B).
wn(ent, 201045661, A, 200915832, B).
wn(ent, 201046021, A, 201301287, B).
wn(ent, 201052666, A, 201249365, B).

its simple my question then....

how do I in a lising to make it...
prefix my vars with _ .. like _A, _B ?

also is there any plans to make a native tcp/ip bultin library?
if so i would like to help out a bit :)



