Original Post
I have a function that just gets a value in a scoll bar as to where the scroll knob is... this is called alot, so it would be called thousands of times in a short time (couple seconds), would it be wise to inline this or should i just do it normally? Jake
int GetValue() { return cpri_Value_I; }
or
int GetValue()
{
return cpri_Value_I;
}