-
X2 devices and parentheses
According to the manual (book 2 page 23), X2 devices are supposed to allow expressions like:
w2 = (b8 + b9) * 7
or
but when I do this I get a syntax error, and I have to split it into two expressions.
Is this a bug in the manual, programming software, or me?
-
Unfortunately the manual in this case is running ahead of the implementation and this capability is not yet available.
-
As PICAXE maths works left to right, your code will work properly without brackets. BIDMAS is not taken into account on PICAXE.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks