Thursday, July 4, 2013

Temporary Variables

In order for two or more variables to swap or shuffle their content, a Temporary Variable must exist. Variable A says "hold this content" to the Temporary Variable leaving Variable A empty. Then Variable B can stick it's content into variable A leaving variable B empty. The Temporary Variable then inserts the original content into Variable B's empty slot.

No comments:

Post a Comment