append an entry to an allocatable array 1d with integer If the array is too small, reallocate with double size
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int_k), | intent(inout), | allocatable | :: | Array(:) | array to resize |
|
integer, | intent(in) | :: | Newsize | new size of the array |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private, | allocatable | :: | tempArray(:) | |||
integer, | private | :: | ierr |