Hi
I want to make a component that uses a property and for this property I ticked "Generate a define for the property". When compiled into C code, this property appears in quotation marks. How do I remove quotes when compiling to C code?
Generate a define for the property
-
- Posts: 9
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 16, 2020 9:32 am
- Been thanked: 3 times
Generate a define for the property
- Attachments
-
- 0303.jpg (43.15 KiB) Viewed 2727 times
-
- 0202.jpg (50.1 KiB) Viewed 2727 times
-
- 0101.jpg (65.66 KiB) Viewed 2727 times
-
- Matrix Staff
- Posts: 1786
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 455 times
- Been thanked: 621 times
Re: Generate a define for the property
Hello,
I've created a demo for you where I remove the quote marks using an Compile -> AddProperty event macro.
Hopefully it should do everything you need it to do.
Results in this being generated in the C code.
I've created a demo for you where I remove the quote marks using an Compile -> AddProperty event macro.
Hopefully it should do everything you need it to do.
Results in this being generated in the C code.
Code: Select all
#define MX_ENCODERKF_DEMO_0 portc
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel