Menu

#25 use of function name as l-value not replaced by _ret

v0.2
open
6
2004-02-29
2004-02-18
Anonymous
No

In the following code, the function name is used as a
l-value

Private Function gammareg1(tau, pi)
gammareg1 = 0
For i = 1 To 34
gammareg1 = gammareg1 + nreg1(i) * (7.1 - pi) ^
ireg1(i) * (tau - 1.222) ^ jreg1(i)
Next i
'
End Function

The l-value gammareg1 should be replaced by _ret on
conversion.

Discussion

  • Paul Paterson

    Paul Paterson - 2004-02-29
    • labels: --> Code Conversion
    • milestone: --> v0.2
    • priority: 5 --> 6
    • assigned_to: nobody --> paulpaterson
     
  • Paul Paterson

    Paul Paterson - 2004-02-29

    Logged In: YES
    user_id=398620

    Nasty bug! I was never sure whether you were allowed to
    include the function name like this or whether it would cause
    recursion.

    Thanks for reporting this.

     

Log in to post a comment.

MongoDB Logo MongoDB