Zeros memory area
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int_4), | intent(out), | DIMENSION(1:n) | :: | dst |
destination memory |
|
integer, | intent(in) | :: | n |
length of elements to zero |
SUBROUTINE mem_zero_i (dst, n) !! Zeros memory area INTEGER, INTENT(IN) :: n !! length of elements to zero INTEGER(kind=int_4), DIMENSION(1:n), INTENT(OUT) :: dst !! destination memory dst(:) = 0 END SUBROUTINE mem_zero_i