Calling all Programers

Feb 15, 2010 10:57

Anyone code in fortran? I'm confused by if statements and lacking a reference text for a few weeks:

IF(TIM-TE1)11,11,13
   11    DE1=0.0*1.0
         GO TO 55
   13    DE1=(DE/(TE2-TE1))*(TIM-TE1)

Thanks

Leave a comment

Comments 1

(The comment has been removed)

wiccanmouse February 15 2010, 19:59:52 UTC
Its close actually.... I found some help. The if statement is basically a number then 3 conditions, if the number is less than, equal to, or greater than 0. So if Tim-TE1 < 0 go to 11, if = 0 go to 11, if > 0 go to 13.

thanks though! (I have 3 codes to get through and no fortran book to reference for a week...bah!)

Reply


Leave a comment

Up