libsim
Versione7.2.3
|
Module for quickly interpreting the OPTIONAL
parameters passed to a subprogram.
Continua...
Tipi di dato | |
interface | optio |
Generic subroutine for checking OPTIONAL parameters. Continua... | |
Funzioni/Subroutine | |
elemental integer(kind=int_b) function, public | optio_b (var) |
Return the optional value if present, otherwise return missing value. Continua... | |
elemental integer(kind=int_s) function, public | optio_s (var) |
Return the optional value if present, otherwise return missing value. Continua... | |
elemental integer(kind=int_l) function, public | optio_i (var) |
Return the optional value if present, otherwise return missing value. Continua... | |
elemental integer(kind=int_l) function, public | optio_l (var) |
Return the optional value if present, otherwise return missing value. Continua... | |
elemental real function, public | optio_r (var) |
Return the optional value if present, otherwise return missing value. Continua... | |
elemental double precision function, public | optio_d (var) |
Return the optional value if present, otherwise return missing value. Continua... | |
character(len=len) function, public | optio_c (var, len) |
Return the optional value if present, otherwise return missing value. Continua... | |
elemental logical function, public | optio_log (var) |
Return the optional value if present, otherwise return .FALSE. Continua... | |
elemental subroutine, public | soptio_b (var, optio_b) |
Set the output value to input, if input is present, otherwise set it to missing value. Continua... | |
elemental subroutine, public | soptio_s (var, optio_s) |
Set the output value to input, if input is present, otherwise set it to missing value. Continua... | |
elemental subroutine, public | soptio_l (var, optio_l) |
Set the output value to input, if input is present, otherwise set it to missing value. Continua... | |
elemental subroutine, public | soptio_r (var, optio_r) |
Set the output value to input, if input is present, otherwise set it to missing value. Continua... | |
elemental subroutine, public | soptio_d (var, optio_d) |
Set the output value to input, if input is present, otherwise set it to missing value. Continua... | |
elemental subroutine, public | soptio_c (var, optio_c) |
Set the output value to input, if input is present, otherwise set it to missing value. Continua... | |
elemental subroutine, public | soptio_log (var, optio_log) |
Set the output value to input, if input is present, otherwise set it to .FALSE. Continua... | |
Module for quickly interpreting the OPTIONAL
parameters passed to a subprogram.
This module defines functions and subroutines that handle in a quick way OPTIONAL
parameters in a subprogram by returning a useable missing value if a given parameter has not been provided. The module provides a generic subroutine, valid for almost all intrinsic types, and specific functions.