From konik@umich.edu Wed Mar 28 21:10:14 2001
Received: from harumscarum.mr.itd.umich.edu (harumscarum.mr.itd.umich.edu [141.211.125.17])
	by swi.psy.uva.nl (8.11.2/8.11.2) with ESMTP id f2SJAE320574
	for <prolog@swi.psy.uva.nl>; Wed, 28 Mar 2001 21:10:14 +0200 (MET DST)
Received: from main (pm593-18.dialip.mich.net [207.75.181.76])
	by harumscarum.mr.itd.umich.edu (8.9.3/3.3s) with SMTP id OAA09034
	for <prolog@swi.psy.uva.nl>; Wed, 28 Mar 2001 14:10:05 -0500 (EST)
From: "Tolga Konik" <konik@umich.edu>
To: <prolog@swi.psy.uva.nl>
Date: Wed, 28 Mar 2001 14:08:58 -0500
Message-ID: <NPEMIPNCKNCFIHHCDAGMOEPICFAA.konik@umich.edu>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
Importance: Normal
In-Reply-To: <01032809595200.27917@gollem>
Subject: [SWIPL] global dynamic predicates shared in different modules?

I write a program which has modules m1, m2,..
I want them to share some dynamic predicates p1,p2,.. globally.
For example
assert(p1(1)) called in m1 and m2 should have the same effect. (not
assert(m1:p1(1)) and assert(m2:p1(1)))

what is the cleanest way of doing this?
thanks,
Tolga Konik


