Moves the allocated character scalar from ‘from’ to ‘to’ No output
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=:), | intent(inout), | allocatable | :: | from | ||
| character(len=:), | intent(out), | allocatable | :: | to |
pure subroutine move_char_char(from, to) character(len=:), intent(inout), allocatable :: from character(len=:), intent(out), allocatable :: to call move_alloc(from, to) end subroutine move_char_char