Brackets don't appear to work

alband

Senior Member
Code:
if b1 > 180 then
		let b2 = b1 - 180
		let b4 = b2
		let b2 = b2 / (2 * b4) MAX b12
		let b3 = b3 + b2
		endif
I have these lines of code in a 28X2 program (yes the accelerometer from the other post started working but I decided not to bring it back to the top and just let it fade away) and the syntax check is objecting to the brackets.
I have even tried the example in the manual:
On X1 and X2 parts it is possible to enclose part equations in brackets e.g.
let w1 = w2 / (b5 + 2)
but it thinks that is a syntax error too.
I'm using PE 5.2.3 and it is definitely in "28X2 - 40X2" mode.

Surely I'm doing something wrong? :confused:

Thanks,
David.
 

alband

Senior Member
Ah, right. Thanks. :)
Any idea when this feature will exist?
Obviously I can work around it but it will make things easier form some maths I have planned.
 

westaust55

Moderator
Brackets for X1 and X2 parts still to be implimented

Ah, right. Thanks. :)
Any idea when this feature will exist?
Obviously I can work around it but it will make things easier form some maths I have planned.
Rev Ed (Technical) did state long ago it was only a metter of revising the Programme Editor. The manuals have indicated brackets are available for around a year now and the PE has gone through several revisions to support newer chips and fix bugs.

Maybe Technical can advise some better idea on when - or in the meantime add "Future" to the manual 2 as for some other future features.
For example:
#include “filename”
Reserved for future use. Not currently implemented.
 
Top