Rik's Treehouse > Babbling in Binary > My Software > Orphanware > R2DToo > R2DToo Help > For the Programmer > getParamVal |
Declaration Parameters Return Value Remarks Revisions Example See Also | DeclarationtParam __stdcall getParamVal( char* name // parameter name ); ![]() Parameters
![]() Return ValueThe current value of the parameter name or 0 if not found.![]() RemarksThis function is available through the API. Use it to retrieve the current value of a parameter. getParamVal is slower than getParamRef so it should not be used in frequently called functions like onTick. However, there is one function where it must be used in place of getParamRef: in the user-supplied getParamAbout. See that function for more information.If a parameter named name can't be found, the function returns 0 and reports the failure in R2DToo's Debug window. ![]() RevisionsAPI v1.5
![]() Example![]() See AlsogetParamAbout, getParamRef. |
[Rik's Office Hours] [Contact Rik] Last updated: Fri Apr 30 2004, 1:39pm |