Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Obtain iteration of time step value in fortran

hello everyone, I want to get value of DELT (time step) in fortran, however using CALL DSRVAL('DELT', INDX, RVAL, IERR) has a problem. main purpose is simple, just want to use this function as a record time at certain condition example [The plus-equals operator in python (+=) which provides a convenient way to add a value to an existing variable and assign the new value back to the same variable]

--> i += DELT -->if i > a: ------>certain condition

is there any other way to simulate this condition using FORTRAN?