- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
integer, allocatable:: IA(:)
IA = [1, 2, 3, 4] ! not allocated, not consistent with Fortran 2003 Standard
write(unit = *, fmt = *) IA
Thanks a lot.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
http://software.intel.com/en-us/forums/showthread.php?t=67116
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am a little surprised that you have to tell the compiler explicitely that you want to have a language feature supported, although the remarks of Steve in this respect make sens.
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In MS Visual Studio 2008 IDE Properties --> Fortran --> Command Line --> Additional Options write-----/assume:realloc_lhs, the program works fine.
But it not appear in IDE Equivalent
Windows: Compatibility > Treat Backslash as Normal Character in Strings (/assume:[no]bscc)
Data > Assume Dummy Arguments Share Memory Locations (/assume:[no]dummy_aliases)
Data > Constant Actual Arguments Can Be Changed (/assume:[no]protect_constants)
Data > Use Bytes as RECL=Unit for Unformatted Files (/assume:[no]byterecl)
Floating Point > Enable IEEE Minus Zero Support (/assume:[no]minus0)
Optimization > I/O Buffering (/assume:[no]buffered_io)
Preprocessor > Default Include and Use Path (/assume:[no]source_include)
Preprocessor > OpenMP Conditional Compilation (/assume:[no]cc_omp)
External Procedures > Append Underscore to External Names (/assume:[no]underscore)

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page