Create and initialize new string object.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(tString), | intent(inout), | POINTER | :: | Str |
New string |
SUBROUTINE GetNewString(Str) ! MODULES IMPLICIT NONE !----------------------------------------------------------------------------------------------------------------------------------- ! INPUT/OUTPUT VARIABLES TYPE(tString),POINTER,INTENT(INOUT) :: Str !! New string !----------------------------------------------------------------------------------------------------------------------------------- ! OUTPUT VARIABLES !----------------------------------------------------------------------------------------------------------------------------------- ! LOCAL VARIABLES !=================================================================================================================================== NULLIFY(Str) ALLOCATE(Str) NULLIFY(Str%NextStr,Str%PrevStr) END SUBROUTINE GetNewString