Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!ucsd!ucbvax!pasteur!cory.Berkeley.EDU!navas From: navas@cory.Berkeley.EDU (David C. Navas) Newsgroups: comp.sys.amiga.tech Subject: Re: gadgets in 2.0 Keywords: gadgets 2.0 Message-ID: <24783@pasteur.Berkeley.EDU> Date: 6 May 90 22:19:15 GMT References: <1990May6.183020.17956@calgary.uucp> Sender: news@pasteur.Berkeley.EDU Reply-To: navas@cory.Berkeley.EDU.UUCP (David C. Navas) Organization: University of California, Berkeley Lines: 24 In article <1990May6.183020.17956@calgary.uucp> pepers@enme3.UUCP (Brad Pepers) writes: [Speaking about varargs function calls] >There is no >way to declare a routine like that for Pascal, Modula2, etc... They just >don't allow variable parameter lengths. So these wonderful new functions >can't be used by anything but C and assem!!! Wrongo... Well actually, righto, but there are workarounds.. :) >Why couldn't the gadget routines take a pointer to a variable length 2D >array with tag,value pairs? This would be supportable in all languages. They are, err, aren't err, okay here's the story as I know it :) There are two functional front-ends. One is with varargs, the other with array stuff. Shmart, eh? >Am I right about this or is there something I've missed?? Yes, Yes... :) :) > Brad Pepers David Navas navas@cory.berkeley.edu "Excuse my ignorance, but I've been run over by my train of thought." -me