excel-d lets you write plain D code that can be run from Excel unmodified via the magic of compile-time reflection.

Other than bug fixes, the main new feature since 0.2.15 is @Async. Slap it on a function like so:

@Async
double myfunc(double d) {
    // ...
    return ret;
}

And it will be executed in a separate thread. Useful for long running calculations / tasks so that they don't block the UI or other calculations in the worksheet.

Since the last time it was posted to announce, it also has these new features:

* `Any` variant type. When a D function needs to be passed more than one type of Excel value (e.g. string or double). This also works when a function takes arrays of `Any` such as `Any[]` or `Any[][]`.

* `std.datetime.DateTime` support. Declare one of the parameters as `DateTime`, type in a date in Excel and things just work.

* D functions/delegates can be registered to be run when the XLL is closed.

* D functions to be called from Excel no longer need to be `nothrow`.

Atila


Atila

Reply via email to