Silverfrost Forums

Welcome to our forums

Run time error

14 Sep 2005 2:33 #338
I  have  executed  my  program  filter1.exe  and  received  the  following  error  message:

              Run  time  error  

              Error  :  Zero  raised  to  negative  or  zero  power

                00413250     SFREQ  [+019d]
                0040eec0      COS2   [+0105]
                0040f3f0       FIR1D   [+0ab6]
                00410910      FIR       [+012b]
                00401000      main     [+4652]

 Kindly  note  that  SFREQ, COS2,  FIR1D,  FIR  refers  to  the  subroutines  needed  for  my  main  program

 Please  advise  what  is  cause  for  such  problem  and  how  can  it  be  resolved

  Thanks


    Supramaniam
14 Sep 2005 9:19 #340

I don't have enough information to say for sure, but I guess that the mentioned error occurred in subroutine SFREQ .

A ** B is not defined when A == 0 and B ⇐ 0 !! Like division by ZERO.

Try compiling the program with /CHeckmate and run it with the debugger.

14 Sep 2005 9:19 #341

The error will be as stated. Step through the code using the debugger to find the point at which it fails and then examine the values of the associated variables.

Please login to reply.