Changes between Version 6 and Version 7 of code/doc/MultiType
- Timestamp:
- Sep 25, 2008, 12:43:01 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
code/doc/MultiType
v6 v7 47 47 === Retrieve a value === 48 48 There are four three to retrieve a value from a !MultiType: 49 * '''Implicit''' conversion: float value = myMT; (or float value = (float)myMT; )49 * '''Implicit''' conversion: float value = myMT; (or float value = (float)myMT;'''''''''') 50 50 * Get by pointer: '''getValue('''''pointer''''')''': float value = 0; myMT.getValue(&value); 51 51 * Explicit function call: '''getXXXX()''' float value = myMT.getFloat().