Difference between revisions of "API Component.GetOriginal"
From Flowcode Help
Jump to navigationJump to search (XML import)  | 
				 (XML import API auto-gen)  | 
				||
| Line 1: | Line 1: | ||
| − | + | <sidebar>API contents</sidebar>  | |
| − | + | Gets the original definition of the component, returns Current if no original copy  | |
| − | |||
| − | |||
===Parameters===  | ===Parameters===  | ||
| Line 18: | Line 16: | ||
===Examples===  | ===Examples===  | ||
| − | ====Calling in a calculation  | + | ====Calling in a calculation====  | 
* Declare a variable 'result' of type HANDLE  | * Declare a variable 'result' of type HANDLE  | ||
| − | * Add to a calculation icon: result = ::Component.GetOriginal(current)  | + | * Add to a calculation icon: <pre class="brush:[C]">result = ::Component.GetOriginal(current)</pre>  | 
Revision as of 15:44, 10 May 2013
<sidebar>API contents</sidebar> Gets the original definition of the component, returns Current if no original copy
Parameters
HANDLE Current
- The component to find the definition of
 
Return value
Returns the original definition of the component, returns Current if no original copy
Detailed description
No additional information
Examples
Calling in a calculation
- Declare a variable 'result' of type HANDLE
 - Add to a calculation icon: 
result = ::Component.GetOriginal(current)