From unicorn@father.ludd.luth.se Tue May 10 07:45:39 1994
Received: from jota.sm.luth.se (jota.sm.luth.se [130.240.2.4]) by mother.ludd.luth.se (8.6.8/8.6.6) with SMTP id CAA27129 for <unicorn@ludd.luth.se>; Tue, 10 May 1994 02:28:01 +0200
Received: from my.sm.luth.se by jota.sm.luth.se with SMTP
	(5.67a8/IDA-1.2.8-NS) id AA04418; Tue, 10 May 1994 02:28:30 +0200
Received: from ki1.chemie.fu-berlin.de by my.sm.luth.se with SMTP
	(5.67a8/IDA-1.2.8-NS) id AA29700; Tue, 10 May 1994 02:27:56 +0200
Received: by ki1.chemie.fu-berlin.de (Smail3.1.28.1)
	  from lutzifer.hanse.de (134.100.239.2) with smtp
	  id <m0q0ffb-0001ZQC>; Tue, 10 May 94 02:27 MEST
Received: from <ccwnoc.hanse.de> by lutzifer.hanse.de with SMTP id AA17621
  (5.65c/IDA-1.4.4 for <d88-kss@sm.luth.se>); Tue, 10 May 1994 02:21:28 +0200
Received: from jwminhh by ccwnoc.hanse.de with uucp
	(Smail3.1.28.1 #2) id <m0q0cxe-000BqIC>; Mon, 9 May 94 23:34 MET DST
Received: by jwminhh.Hanse.DE with uucp(Smail3.1.28.1 #1)
	id m0q0cqC-000KDAC; Mon, 9 May 94 23:26 MET DST
Received: by meolyon.hanse.de (Smail3.1.28.1 #6)
	id m0q0cmG-0000dKC; Mon, 9 May 94 23:22 MET DST
Message-Id: <m0q0cmG-0000dKC@meolyon.hanse.de>
From: amylaar@meolyon.hanse.de (Joern Rennecke)
Subject: Re: driver
To: d88-kss@sm.luth.se
Date: Mon, 9 May 1994 23:22:15 +0100 (MET DST)
In-Reply-To: <199405090638.AA22431@jota40.sm.luth.se> from "d88-kss@sm.luth.se" at May 9, 94 08:38:16 am
X-Mailer: ELM [version 2.4 PL17]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 1753      
Status: RO
X-Status: 

> 
> Greetings again, 
> 
> Thank you for your rapid and good answers, I'd better clarify what I meant in my second
> question.
> 
> > > 2/ objlistcall  enable multiple calls for objects in a list to a function,
> > >                 example object arr; arr = users(); arr->query_name(); dump_array(arr);
> > 
> > Hmm, do you mean dump_array(filter_objects(users(), "query_name")); ?
> 
> Well, what I meant was sending an array of objects to one function, returning an array
> of the corresponding return values, which I think your answer mirrors. However, I think
> it is another problem. Your example will filter out objects that return 0 to the query,
> what I want to achieve is a replacement of the item to the returnvalue of the query on
> that item (Am I making a mess outa this?). Well, a better example might be better.

This would be dump_array(map_objects(users(), "query_name"));

> Anyhow, the function filter_objects was new to me, from which version of the driver is
> it implemented (we run 3.2@242)? It does call a function in every object in the list

It appeared somewhere in 3.1.2k . Although the support for arbitrary
numbers of parameters, call by reference and closures was added later.

> keeping the elements returning a nonzero value, right? Hopefully, we have it, but when I
> try to use your line of code I get: LPCERROR: Bad argument 3 to filter_array()
> 
> I think usage of a multiple -> raises advantages, since the driver calls is faster. It
> also makes it easier to code. ;-) Ok, I will stop at that, thank you for your time. 

No, actually it would mean more tests till the call can be dispatched, thus
being slower. It also could make bugs harder to find because the typing
would be near to non-existant.

	Amylaar

From unicorn@father.ludd.luth.se Mon May 16 08:11:40 1994
Received: from ki1.chemie.fu-berlin.de (ki1.chemie.fu-berlin.de [130.133.2.21]) by mother.ludd.luth.se (8.6.8/8.6.6) with SMTP id HAA12471 for <unicorn@ludd.luth.se>; Sat, 14 May 1994 07:17:38 +0200
Received: by ki1.chemie.fu-berlin.de (Smail3.1.28.1)
	  from lutzifer.hanse.de (134.100.239.2) with smtp
	  id <m0q2C62-0000bFC>; Sat, 14 May 94 07:17 MEST
Received: from <ccwnoc.hanse.de> by lutzifer.hanse.de with SMTP id AA24561
  (5.65c/IDA-1.4.4 for <unicorn@ludd.luth.se>); Sat, 14 May 1994 07:10:27 +0200
Received: from jwminhh by ccwnoc.hanse.de with uucp
	(Smail3.1.28.1 #2) id <m0q26Z1-000BldC>; Sat, 14 May 94 01:22 MET DST
Received: by jwminhh.Hanse.DE with uucp(Smail3.1.28.1 #1)
	id m0q26Nm-000KBWC; Sat, 14 May 94 01:11 MET DST
Received: by meolyon.hanse.de (Smail3.1.28.1 #6)
	id m0q26Do-0000fOC; Sat, 14 May 94 01:00 MET DST
Message-Id: <m0q26Do-0000fOC@meolyon.hanse.de>
From: amylaar@meolyon.hanse.de (Joern Rennecke)
Subject: Re: 3.2.1@14
To: unicorn@ludd.luth.se (K}re Synnes)
Date: Sat, 14 May 1994 01:00:47 +0100 (MET DST)
In-Reply-To: <Pine.3.89.9405131221.A12657-0100000@father.ludd.luth.se> from "K}re Synnes" at May 13, 94 12:18:52 pm
X-Mailer: ELM [version 2.4 PL17]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 380       
Status: O
X-Status: 

> 
> Greetings,
> 
> We run a mud with your driver 3.2.1@14, but we have a problem. It sometimes
> exit with numbers 260, 266 and 267. Do you know what that can be caused of?

No, I don't. Could you try to let it run under gdb, with breakpoints on
exit() and _exit() ?

> Btw, run on a VAX8600 machine with Ultrix.

Can't remember of somebody else reporting this setup.

	Amylaar

