Re: Help with variable number of args

2003-09-18 Thread Nick Ing-Simmons
Dave Horsfall [EMAIL PROTECTED] writes: if ((abuf = fill_key(numargs, args, recnum)) == NIL(char)) The fill_key() function just took the Perl args and converted them into a structure used by the database. There's a whole bunch of code that I have left out, as I didn't want to overwhelm

Re: Help with variable number of args

2003-09-17 Thread Nick Ing-Simmons
Tassilo Parseval [EMAIL PROTECTED] writes: On Wed, Sep 17, 2003 at 11:39:54AM +1000 Dave Horsfall wrote: Pardon me if this is a FANQ (Freq. Asked Newbie Question), but I cannot find any references to what I want to do. I'm porting some legacy Perl/C code; it was originally done under Perl3

Re: Help with variable number of args

2003-09-17 Thread Tassilo von Parseval
On Wed, Sep 17, 2003 at 05:25:57PM +0100 Nick Ing-Simmons wrote: Tassilo Parseval [EMAIL PROTECTED] writes: On Wed, Sep 17, 2003 at 11:39:54AM +1000 Dave Horsfall wrote: So you can see my dilemma; I need to tell the underlying C code how many arguments there are (I cannot change the Perl

Re: Help with variable number of args

2003-09-17 Thread Nick Ing-Simmons
Tassilo Parseval [EMAIL PROTECTED] writes: On Wed, Sep 17, 2003 at 05:25:57PM +0100 Nick Ing-Simmons wrote: Tassilo Parseval [EMAIL PROTECTED] writes: On Wed, Sep 17, 2003 at 11:39:54AM +1000 Dave Horsfall wrote: So you can see my dilemma; I need to tell the underlying C code how many