Get the data from a node
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(node), | intent(in) | :: | me | |||
| class(*), | intent(out), | pointer | :: | value |
subroutine get_node_data(me,value) implicit none class(node),intent(in) :: me class(*),pointer,intent(out) :: value if (associated(me%value)) then value => me%value else error stop 'error: value pointer is not associated' end if end subroutine get_node_data