Files
Victor Eijkhout b13edff125 initial upload
2022-11-13 14:03:01 -06:00

27 lines
571 B
Fortran

!****************************************************************
!***
!*** This file belongs with the course
!*** Introduction to Scientific Programming in C++/Fortran2003
!*** copyright 2017-2021 Victor Eijkhout eijkhout@tacc.utexas.edu
!***
!*** basic.F90 : pointer to real
!***
!****************************************************************
Program PointAtReal
implicit none
!!codesnippet pointsetprint
real,target :: x
real,pointer :: point_at_real
x = 1.2
point_at_real => x
print *,point_at_real
!!codesnippet end
end Program PointAtReal