Closed Steph-Parallax closed 5 years ago
Generated C.
/ SERIAL_TERMINAL USED /
// ------ Libraries and Definitions ------
// ------ Global Variables and Objects ------ int quotient; int remainder;
// ------ Main Program ------ int main() {
quotient = (10 / 3); remainder = (10 % 3); print("%s%d%s%d\r", "quotient = ", quotient, " and remainder = ", remainder);
}
Oh, let me try this in Demo. It may actually be caused by a different bug in the print multiple block that isn't in production yet.
Tested in Demo, it gets the same error message. So it is not related to blocklyprop #1538
This is in Propeller GCC
I'd recommend adding 'remainder' to the reserved words list in blocklyprop.
Thanks! I'll open an issue over there and link to this.
Naming a variable "remainder" throws this compiler error