The following codes are the assignment and arithmetic operations available in the action language:
| X=1; | Sets X equal to 1 |
| X=Y; | Sets X equal to Y |
| X=X+5; | Adds 5 to X |
| X=X-3; | Subtracts 3 from X |
| X=X*4; | Multiplies X by 4 |
| X=X/2; | Divides X by 2 |
| X=X%5; | Set X to remainder of X divided by 5 |
| X++; | Adds 1 to X |
| X--; | Subtracts 1 from X |