Open bracket bug in VTFT? Event handlers, microC PRO PIC32

General discussion on Visual TFT Software.
Post Reply
Author
Message
RDC
Posts: 19
Joined: 16 Aug 2010 15:07

Open bracket bug in VTFT? Event handlers, microC PRO PIC32

#1 Post by RDC » 25 Nov 2018 22:46

Any one else having this issue? or know if if ME is doing anything about it? Seems it also appears to be in the FT90x VTFT compiler as well, and that was posted in Aug of 2017!! viewtopic.php?f=204&t=70665

Same deal as there, open and close the brackets fast and you can work 'around' the issue, but come on, who does that? I mean besides me now as it's the only way I can get any code
written in here now, and that's only an option as I'm tired of going back in and redoing every Event handler across multiple screens. Even if you accidentally delete a close bracket } the thing
will break, and the best thing to do there is just CAD the thing and shut it down, which means you lose every bit of code you just wrote before that, but you don't have to go back and
redo every single Event handler then when you open the project back up.

This issue exists in all 3 of my compilers here, MikroC PRO for PIC, dsPIC and PIC32
Bracket_Bug.jpg
Bracket_Bug.jpg (180.29 KiB) Viewed 1594 times
Attachments
BRACKET_BUG.zip
(37.76 KiB) Downloaded 76 times
Screwing up is one of the best learning tools, so long as the only thing you're not learning is how to screw up.

User avatar
filip.grujcic
Posts: 822
Joined: 14 May 2018 08:34

Re: Open bracket bug in VTFT? Event handlers, microC PRO PIC

#2 Post by filip.grujcic » 30 Nov 2018 15:42

Hello,

Thank you for your input. I will forward this to our developers again so they can address the problem in the future update of the compiler.

I apologize for the inconvenience.

Kind regards,
Filip Grujcic

DrBernd
Posts: 8
Joined: 24 Apr 2012 12:26

Re: Open bracket bug in VTFT? Event handlers, microC PRO PIC32

#3 Post by DrBernd » 25 Feb 2021 08:26

Hi all,
same error for me in _events_code.c.

My solution:
//--------------------- User code ---------------------//
#include "A_user_code.c"
//----------------- End of User code ------------------//

Regards

Post Reply

Return to “Visual TFT General”