vp_string
Method call snippet
vp_string(instance, attr);
Return the value of a string attribute.
Parameters
These are the parameters that this method requires:
Parameter | Usage |
---|---|
VPInstance instance |
Pointer to the instance this method call is intended for |
vp_string_attribute_t attr |
Attribute to return value of |
Returns
const char*
Behavior
- There is no special behavior for this method
Caveats
If an invalid value is passed for attr, then a pointer to "" will be returned.
Examples
- This method has no usage examples; please add at least one to this page