-
Notifications
You must be signed in to change notification settings - Fork 6
Table of user functions and global variables
Hani Andreas Ibrahim edited this page Jan 6, 2026
·
4 revisions
| Name | Kind | Type | Size | Description | Arguments | Description; Type and Size of Arguments |
|---|---|---|---|---|---|---|
| getopt() | Function | Character | 1 | Returns short option character | 1 or 2 | 1.) Short options string: character(80) 2.) Attributes on long options: derived type array “option_s” (optional) |
| option_s | Array | Derived Type | 1-dimensional (:) | Contains the 3 attributes of an long option | 3 | 1.) Long name of an option: character(80) 2.) Specication if an option has an argument: logical 3.) Short name of an option: character(1) |
| optarg | Variable | Character | 80 | Contains the optional value of an option | n/a | n/a |
| optlongind | Variable | Integer | 8 bit | Indexvariable of long options w/o short | n/a | n/a |
Utillity function
| Name | Kind | Type | Size | Description | Arguments | Description; Type and Size of Arguments |
|---|---|---|---|---|---|---|
| isnum | Function | Integer | 1 | Checks for numbers in "optarg" ismum=0 => non-numeric isnum=1 => integer isnum>1 => real/double |
1 | 1.) Argument string, e.g. "optarg": character(len=*) |
| check_duplicates | Subroutine | n/a | Checks for option duplicates | 2 | 1. opt short declaration (IN) 1. opt long declaration (IN) |