Your problem is line 9 (in your snippet). The expression
FindDepBal(BalDep);
doesn't make sense. You can only use this notation when constructing a double. So, for example, you could do
double FindDepBal( BalDep ); // Construct with value
or
FindDepBal = BalDep; // Assign new value
The way you currently have it, the compiler is trying to treat FinalDepBal as a function (which it things might take one argument, BalDep), which is what the error is about. Google the error code and find this page.
ravenous
Practically a Master Poster
681 posts since Jul 2005
Reputation Points: 286
Solved Threads: 111
Skill Endorsements: 9