[DGD]1.1.52

Frank Schmidt franks at colargol.tihlde.hist.no
Mon Mar 15 08:55:12 CET 1999



On Fri, 12 Mar 1999, Felix A. Croes wrote:

> For the language C, I agree.  For LPC, I strongly disagree.
I've been doing too much C++ latel. Shame on me! ;)

Ok, I've tried out 1.1.52 in the weekend. It basically looks nice
(especially that you have an option of using it), but what troubles me is
that you still cannot check wether a function argument was provided by
the caller or not:

varargs void foo(object bar) {
  if (bar == nil) {
    bar = this_object(); /* or any other default value */
  }
}

void main() {
  object bar;
  bar = compile_object("somefile");
  ...
  destruct_object(bar);
  ...
  foo(bar);
}

-Frank


List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list