What is the practical difference in
subroutine fillName(person) type(PersonType), intent(inout) :: person person%name = "Name" end subroutine
or following
subroutine fillName(person) type(PersonType), pointer :: person person%name = "Name" end subroutine
pointerhas specific requirements for arguments that are not in the simple description. Basically a dummy argument personshould be associated with a pointer-pointer. This may be due to allocation or simple assignment of a pointer ( =>). It is important to note that any changes to the association of the dummy argument pointer personduring subroutine execution will be reflected in the actual argument passed. An immediate description will pass the actual argument by reference, but not an association of pointers.
pointer
person
=>
, , , , intent(inout) .
intent(inout)
, , intent(inout) . , intent(inout) .
pointer, intent(inout), , .
Source: https://habr.com/ru/post/1789453/More articles:Considerations for moving our web application to a device - pythonReboot fb: comment widget - facebookJava - ΠΠΎΠ»ΡΡΠΈΡΡ ΠΏΠΎΠ·ΠΈΡΠΈΡ Π² ΠΊΠΎΠ΄Π΅ (ΠΏΠ°ΠΊΠ΅Ρ/ΠΊΠ»Π°ΡΡ/ΠΌΠ΅ΡΠΎΠ΄) - javaHow to solve 404 not found problem in Magento - magentoGUI Designer and code preview - designWhy does "how" not work with value types when "is"? - c #Bash citation problem - bashOracle ROWID as function / procedure parameter - oracleQuartz - ClassCastException - javahttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1789458/uploading-php-scripts-to-a-live-environment&usg=ALkJrhiUxuU61siLU6iNyWEE_aJ2QkH9NgAll Articles