This program demonstrates the creation of a Markdown table summarzing kind values used by a compiler:
Running the program with a command of the form "fpm run --example create-markdown-table" without quotes should produce a table similar to the following with "flang" replaced by the employed compiler's name.
| compiler \ kind | default | c_size_t | c_int64_t | c_intptr_t |
|---|---|---|---|---|
| flang | 4 | 8 | 8 | 8 |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(string_t), | intent(in) | :: | row_header(first_body_row:) | |||
| type(string_t), | intent(in) | :: | column_header(:) | |||
| type(string_t), | intent(in) | :: | body_cells(first_body_row:,:) | |||
| logical, | intent(in) | :: | side_borders |