8000 GitHub - degawa/store: Utility procedure for storing value to optional variable
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

degawa/store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

store

Utility procedure for storing value to optional variable.

subroutine do_something(..., stat)
    implicit none
    :
    :
    integer(int32), intent(out), optional :: stat

    ! want to write
    call store(stat, 0)
    ! instead of
    if (present(stat)) then
        stat = 0
    end if
end subroutine do_something

Get the code

To get the code, execute the following commnad:

git clone https://github.com/degawa/store.git
cd store

Reference from your project

Add the following use statement to modules or procedures calling store.

use :: store_proc

Reference as a fpm project's dependency

To use store in your fpm project, add the following to the fpm.toml.

[dependencies]
store = {git = "https://github.com/degawa/store.git"}

Todo

  • To write README.
  • To add tests.

About

Utility procedure for storing value to optional variable

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0