contents   index   previous   next



Declaring Variants with f90VB

 

In f90VB Variants are user-defined structures with the very original name VARIANT. To declare a Variant variable in your Fortran program, use the standard Fortran method to declare user-defined variables. The example below declares variable MyVar as a Variant:

 

type(VARIANT)::MyVar

 

Creating and initializing Variants