主题:哪位帮小弟解决一下这个IVF初级问题?
ff.f90
!
! FUNCTIONS:
! ff - Entry point of console application.
!
!****************************************************************************
!
! PROGRAM: ff
!
! PURPOSE: Entry point for the console application.
!
!****************************************************************************
program ff
implicit none
! Variables
data a,b,c,x/3,5,-2,2/
fx=(a*x+b)*x+c
write(*, *)'f(',x,')=',fx[/b] ! Body of ff[/color]
end program ff
运行出现: error :this is an invaliddata statement object.a,b,c,x
!
! FUNCTIONS:
! ff - Entry point of console application.
!
!****************************************************************************
!
! PROGRAM: ff
!
! PURPOSE: Entry point for the console application.
!
!****************************************************************************
program ff
implicit none
! Variables
data a,b,c,x/3,5,-2,2/
fx=(a*x+b)*x+c
write(*, *)'f(',x,')=',fx[/b] ! Body of ff[/color]
end program ff
运行出现: error :this is an invaliddata statement object.a,b,c,x