Rik's Treehouse > Babbling in Binary > My Software > Orphanware > R2DToo > R2DToo Help > For the Programmer > assignParam |
Declaration Parameters Return Value Remarks Revisions Example See Also | DeclarationpParam __stdcall assignParam( int index, // parameter index char *name, // parameter name tParam deflt // default value ); ![]() Parameters
![]() Return ValueA pointer to the newly created parameter value (pParam).![]() RemarksThis function is available through the API. It is meant to be used from within the model-provided function onModelLoad and should be called once for each parameter after calling setParamCount.PropertiesProperties of a parameter may be specified in brackets [...] after the parameter's name. The user will only be allowed to enter values which satisfy the properties. Properties are comma-separated assignments of the form property=value,....Valid properties in the current version of the API (to be expanded in future versions) are
In the absence of any properties, a parameter is assumed to be an unbounded real number. RevisionsAPI v1.5
![]() Example![]() See AlsoonModelLoad, setParamCount, pParam. |
[Rik's Office Hours] [Contact Rik] Last updated: Fri Apr 30 2004, 2:35pm |