Convert to ace and to current Serpent. Some errors with return() will be fixed soon...
[robmyers:artworld-ethereum.git] / contract / hot_cold.se
1 init:
2     contract.storage[1000] = "hot"
3     contract.storage[1001] = "cold"
4
5 code:
6     // Swap
7     temp = contract.storage[1000]
8     contract.storage[1000] = contract.storage[1001]
9     contract.storage[1001] = temp