pair class : Set(class,class) method
Description
Sets up an instance.
Syntax
pairInstance.Set(class first, class second)
Arguments
Class | Name | Description |
class | first | The first instance. |
class | second | The second instance. |
Return value
None.
Sample code
1: | pair newPair = new pair(); |
2: | newPair.Set(10, true); |
3: | bool init = newPair.Fitted; // true |
4: | bool first = newPair.ExistsFirst; // true |
5: | bool second = newPair.ExistsSecond; // true |
Notes
None.
Links for reference
None.