Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

* at the end of mathematical expression

Status
Not open for further replies.

sfahmed

Programmer
Apr 7, 2016
2
US
Hi
Could someone please tell me what is the meaning of * at the end of a mathematical expression in fortran 77. I found the following line where I have an * at the end (3rd line in the code segment) whose meaning is unknown to me-

IF (K .NE. 0) THEN
ROP = RCKWRK(NcI1+I-1) - RCKWRK(NcI2+I-1)
WDOT(K) = WDOT(K) + ROP *
1 DBLE(ICKWRK(IcNU + (I-1)*MXSP + N - 1))
ENDIF

Your reply will be highly appreciated.
 
The "1" in the 7th column is a continuation character. This was a fortran 77 standard. The whole expression is

WDOT(K) = WDOT(K) + ROP * DBLE(ICKWRK(IcNU + (I-1)*MXSP + N - 1))


Bill
Lead Application Developer
New York State, USA
 
Thanks Bill for the clarification. I am not familiar much with 77.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top