kookma / ogpf

ogpf is Object based interface to GnuPlot from Fortran 2003, 2008 and later
Other
167 stars 47 forks source link

Update demo.f90 #24

Closed Ily83 closed 3 years ago

Ily83 commented 3 years ago

Change animation_start(1) to animation_start(1.) so that it works with the new file.

Question: Is it possible to read give an integer to a variable declared as real in a subroutine?

kookma commented 3 years ago

Question: Is it possible to read give an integer to a variable declared as real in a subroutine?

do you mean to be able pass both integer and real number at the same time?

Ily83 commented 3 years ago

do you mean to be able pass both integer and real number at the same time?

yes, in a subroutine, kind of like the "auto" of C++

kookma commented 3 years ago

yes, in a subroutine, kind of like the "auto" of C++

I do not think it is possible!