By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,808 Members | 1,481 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,808 IT Pros & Developers. It's quick & easy.

I get an error message can not find the curve (RESD)

P: 7
"if(CURVE(RESD) < 0.001 ? 0.001 : CURVE(RESD))"
Sep 24 '10 #1
Share this Question
Share on Google+
1 Reply


Expert 100+
P: 2,400
There is not enough information here to comment on your question, but if this is C code then the conditional expression inside your if statement has the value 0.001 if CURVE(RESD) is less than 0.001, otherwise it has the value CURVE(RESD). The if statement then executes the then block if this expression value is nonzero. This seems like an unlikely comparison, are you sure that is what you want? Notice also that you could have two separate calls to CURVE(RESD) -- are you sure the same value gets returned each time?
Sep 24 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.