Rik's Treehouse > Babbling in Binary > My Software > Orphanware > R2DToo > R2DToo Help > For the Programmer > getParamAbout |
Declaration Parameters Return Value Remarks Revisions Example See Also | Declarationchar* __stdcall getParamAbout( char* name // name of parameter ); ![]() Parameters
![]() Return ValueA character string returning information on parameter with name name.![]() RemarksThis optional function may be provided by the model. For each valid parameter name (neglecting properties) the function should return a character string with background information on that model parameter. The information is displayed in R2DToo's "New Simulation" dialog box to help the user.You may want to read the parameter values from within getParamAbout. If so, always use getParamVal and never use the getParamRef! This is because getParamAbout is intended to be used while the "New Simulation" dialog is being displayed, and the parameters shown there are only copies of the actual parameters. getParamRef will return pointers to the actual parameters, not the copies being displayed and manipulated in the dialog. getParamVal does not have this problem, it knows when the dialog is open and returns the appropriate results. See the example for a demonstration.
RevisionsAPI v1.5
![]() Example![]() See AlsogetModelAbout, getAgentAbout, getParamVal. |
[Rik's Office Hours] [Contact Rik] Last updated: Fri Apr 30 2004, 1:39pm |