[DGD] Code from Heaven...

Wim van der Vegt wim.vandervegt at ouh.nl
Sat Nov 8 11:20:32 CET 1997


Hi,

Can anyone tell me the purpose of the # signs in the code below (taken from
heaven7)?
It won't compile on dgd (i tried my own version and plain P3). DGD complains
about illegal characters.

------------
Wim van der Vegt / Dutch Open University

void save_wiz_file() {
    rm("/info/WIZLIST");
    write_file(
      "/info/WIZLIST",
      implode(
        map_array(wizlist_info(),
          lambda(({'a}),
            ({#'sprintf, "%s %d %d\n",
              ({#'[, 'a, WL_NAME}),
              ({#'[, 'a, WL_COMMANDS}),
              ({#'[, 'a, WL_EXTRA})
            })
          )
        ), ""
      )
    );
}







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



More information about the DGD mailing list