json_file_update_real32 Subroutine

private subroutine json_file_update_real32(me, path, val, found)

Alternate version of json_file_update_real where val is real32.

Arguments

Type IntentOptional AttributesName
class(json_file), intent(inout) :: me
character(kind=CK,len=*), intent(in) :: path
real(kind=real32), intent(in) :: val
logical(kind=LK), intent(out) :: found

Contents


Source Code

    subroutine json_file_update_real32(me,path,val,found)

    implicit none

    class(json_file),intent(inout)      :: me
    character(kind=CK,len=*),intent(in) :: path
    real(real32),intent(in)             :: val
    logical(LK),intent(out)             :: found

    call me%update(path,real(val,RK),found)

    end subroutine json_file_update_real32