Article ID: 77561 - View products that this article applies to.
This article was previously published under Q77561
Page 300 of the Microsoft FORTRAN Reference Manual says that the $LARGE metacommand specified without array names is identical to compiling the source module with the /AH compiler option.
The $LARGE metacommand is not equivalent to the /AH compiler option. the $LARGE metacommand will specify the HUGE attribute on all declared arrays. The /AH compiler option will assume that only array formal arguments will be given the HUGE attribute, and only then the array will be assumed to exceed 64K.
This is not an issue with FORTRAN PowerStation, because these attributes are not supported
The following code will produce the warning "F4330: I: NEAR/FAR/HUGE equivalence attribute conflict," illustrating that the $LARGE metacommand is treating the local array 'I' as HUGE. Removing $LARGE and compiling with /AH removes this error message.
Article ID: 77561 - Last Review: December 1, 2003 - Revision: 2.0
Contact us for more help
Connect with Answer Desk for expert help.