This repository was archived by the owner on Jan 26, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Not implied multiplication
Peter Tillema edited this page Sep 15, 2018
·
5 revisions
Multiplication is never implied. Remember how in TI-BASIC you could have 10A
in your program and it would be interpreted as 10*A
? This was because TI-OS would automatically add a multiplication sign in between the 10 and A. ICE, for reasons we will cover later, doesn't do that. You must always type a multiplication sign when you want to multiply. This includes when using parentheses.
Incorrect | Correct |
---|---|
8(12+4) |
8*(12+4) |
15A |
15*A |
ABC |
A*B*C |
5(AG)(7∗8) |
5*(A*G)*(7*8) |
ICE Compiler | Peter Tillema
- Introduction
- Building your first program
- Math and numbers
- Variables
- Standard system commands
- Program flow control
- Pointers
- Graphics
- Sprites
- Tilemaps
- Useful routines