I always get an error when doing this exercise

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
niedian
Posts: 127
http://meble-kuchenne.info.pl
Joined: Thu Jan 07, 2021 11:28 am
Has thanked: 3 times
Been thanked: 5 times

Flowcode v10 I always get an error when doing this exercise

Post by niedian »

good afternoon
I am doing this exercise:Exercise - Create an LED Component
What's the reason
thank you
Attachments
c.png
c.png (82.27 KiB) Viewed 197 times
b.png
b.png (49.65 KiB) Viewed 197 times
a.png
a.png (125.12 KiB) Viewed 197 times

LeighM
Valued Contributor
Posts: 558
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 104 times
Been thanked: 302 times

Re: I always get an error when doing this exercise

Post by LeighM »

You must include the quotes e.g. "color"

Steve-Matrix
Matrix Staff
Posts: 2007
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 300 times
Been thanked: 465 times

Re: I always get an error when doing this exercise

Post by Steve-Matrix »

And the Value property should also be a string - i.e. "0". Note that some versions of Flowcode automatically convert a number to a string in this case.

niedian
Posts: 127
Joined: Thu Jan 07, 2021 11:28 am
Has thanked: 3 times
Been thanked: 5 times

Re: I always get an error when doing this exercise

Post by niedian »

Still not working.
Attachments
LED.fcfx
(9.17 KiB) Downloaded 20 times
e.png
e.png (87.34 KiB) Viewed 176 times

Steve-Matrix
Matrix Staff
Posts: 2007
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 300 times
Been thanked: 465 times

Re: I always get an error when doing this exercise

Post by Steve-Matrix »

See Leigh's comment. The "color" also needs to be in quotes.

niedian
Posts: 127
Joined: Thu Jan 07, 2021 11:28 am
Has thanked: 3 times
Been thanked: 5 times

Re: I always get an error when doing this exercise

Post by niedian »

Okay.
Thank you so much.

WingNut
Posts: 282
Joined: Tue Jul 13, 2021 1:53 pm
Has thanked: 53 times
Been thanked: 40 times

Re: I always get an error when doing this exercise

Post by WingNut »

I think they mean any string needs to be in quotes

Steve-Matrix
Matrix Staff
Posts: 2007
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 300 times
Been thanked: 465 times

Re: I always get an error when doing this exercise

Post by Steve-Matrix »

WingNut wrote:
Mon Aug 10, 2026 5:15 pm
I think they mean any string needs to be in quotes

Yes, unless it's the name of a string variable.

Post Reply