- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could someone help me understand (or point at the right place in the IVF documentation) why the commented line in the following code doesn't work (the compiler issues a #6423 error), while the line above does? This is with IVF 11.1.
Thanks,
Olivier
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The parentheses after the function name in the call to MY_FUNCTION are a part of standard Fortran syntax.If any variables are passed to the function, they are put inside of the parentheses and they are necessary to distinguish between function and variable names.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK - Thanks Annalee. I guess I assumed a little too quickly that the parenthesis were optional when the function does not have any arguments.
Olivier
Olivier

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