Syntax error S0034

Hi,

I am getting this error


error S0034 : Syntax error at or near TYPE

code:
if(mod(itime,10000).eq.0) type*, ‘itime=’, itime, ‘time=’,time

any fix?

Thanks.

Hi ArvindJayaprakash24051,

The “type” keyword is used to declare derived types. Did you mean to use “print”?

if(mod(itime,10000).eq.0) print *, 'itime=', itime, 'time=',time
  • Mat