Macros can be used within your menu files to automatically generate menu links to your source code pages. The following macros are supported:
|Name|
- The name of the current block.|BlockName|
- The type name of the current block.|List, TYPE_VALUE|
- Lists all items ofTYPE
.|List, TYPE_VALUE, Recursive|
- Lists all items ofTYPE
, as well as their sub-blocks.
where TYPE_VALUE
can be any of the following:
Project
- The current project.File
- Fortran source files.Module
- Fortran modules.DerivedType
- Fortran user-defined derived-types.Function
- External and module functions.Subroutine
- External and module subroutines.Assignment
- Generic assignment interfaces.Overload
- Generic name interfaces.Operator
- Generic operator interfaces.Variable
- Module variables.
The previous TYPE_VALUE
values adds menu items that do not change from page to page. The next TYPE_VALUE
values add menu item that are dependant on the user's current page.
SubBlocks
- Current block's sub-blocks.SubBlocksAndSelf
- Current block as well as it's sub-blocks.SameType
-Blocks of the same type as the current block.