- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear All:
I am using Intel Fortran V.8 from within .Net. From this environment, is there a way to make all the array counter starting from 'zero' instead of 'one' (e.g. by setting some option checked from the .Net GUI)?
Thanks.
-Arun
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No. You have to declare the array with a zero lower bound. You're basically asking for a "pretend this isn't Fortran" switch!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That's good: a "pretend this isn't Fortran" switch. Where's the 'row-major order switch'?
Interesting to note that in deference to its Fortran lineage, Matlab's arrays are 1-based and of column-major order.
Ciao,
Gerry T.
Interesting to note that in deference to its Fortran lineage, Matlab's arrays are 1-based and of column-major order.
Ciao,
Gerry T.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yeah, and the "run twenty percent slower" switch... :-)
That said, I am glad that we pushed the "creeping C" illness back under the covers by requiring a switch to recognize backslash as an escape introducer in string literals.
![](/skins/images/872293744008A34B36F8ABF94A46CC66/responsive_peak/images/icon_anonymous_message.png)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page