Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

Changing variable and calling in another function

$
0
0

Hi,

I can't figure out why the function "dth_ben_defn_used" is not returning a 1, here is my code

I am resetting the value to "ul->dth_ben_defn" to "SPECIFIED_AMOUNT". But the variable "ul_ifund->dth_ben_defn_used" is not returning "SPECIFIED_AMOUNT" when called in the code.

ul_ifund->dth_ben_per_unit()

//Then check if it was set, but it is not setting x3 to '77'.

ul->dth_ben_defn = SPECIFIED_AMOUNT;

if(dth_ben_defn_used == SPECIFIED_AMOUNT) x3 = 77;

......

dth_ben_defn_used()->ul_ifund

if (fund_accum_defn == CV_TEST_NSP) return SPECIFIED_AMOUNT;

return ul->dth_ben_defn;


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>