contents   index   previous   next



Calling Fortran from Visual Basic and Visual Basic for Applications

 

To be able to call Fortran subroutines and functions from your Visual Basic and Visual Basic for Applications programs, you must understand a few basic concepts. This chapter explains some of these concepts as they apply to your Visual Basic program. The next two chapters explain the considerations necessary to write Fortran subroutines that are callable from Visual Basic.

 

Declaring external functions and subroutines in Visual Basic

Passing arguments by value and by reference

Passing Basic data types (Integer, Boolean and Real types)

Passing strings by reference

Passing strings by value

Passing Arrays

Passing Variants