forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Run time error

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
supramaniam



Joined: 30 Aug 2005
Posts: 11

PostPosted: Wed Sep 14, 2005 3:33 am    Post subject: Run time error Reply with quote


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
Back to top
View user's profile Send private message
JvO



Joined: 18 Aug 2005
Posts: 15

PostPosted: Wed Sep 14, 2005 10:19 am    Post subject: Run time error Reply with quote


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.

Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Wed Sep 14, 2005 10:19 am    Post subject: Run time error Reply with quote

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.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group