17.01.2015 Views

Using Excel, Visual Basic and NAG's Numerical Libraries – getting ...

Using Excel, Visual Basic and NAG's Numerical Libraries – getting ...

Using Excel, Visual Basic and NAG's Numerical Libraries – getting ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

How to h<strong>and</strong>le callbacks<br />

• A callback is a piece of executable code that is passed<br />

as an argument to other code.<br />

• D01BAF (d01bac) – calculates one-dimensional<br />

Gaussian quadrature<br />

• Note:<br />

<br />

<br />

<strong>Visual</strong> <strong>Basic</strong> AddressOf operator to h<strong>and</strong>le callbacks<br />

Argument Passing ByRef in Fortran <strong>and</strong> ByVal in C<br />

9

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!