Passing FORTRAN COMMON Block to QuickBasic SUBprogram (27480)
The information in this article applies to:
- Microsoft QuickBASIC 4.0
- Microsoft QuickBASIC 4.0b
- Microsoft QuickBASIC 4.5
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0b
This article was previously published under Q27480 SUMMARY
The strategy for passing a FORTRAN COMMON block to QuickBasic is to
pass the first variable of the FORTRAN COMMON block as a parameter in
the CALL to the Basic routine. The Basic program should set up a
user-defined-TYPE variable with the same format as the COMMON in
FORTRAN. The Basic SUB statement must receive a variable of this type
as a formal parameter.
Modification Type: | Minor | Last Reviewed: | 1/8/2003 |
---|
Keywords: | KB27480 |
---|
|