Adding an element to a number array using a block


#1

I have a blog like the image below.

I want this block to generate the following code.
int ledPins[] = {
2, 3, 4, 5, 6, 7, 8, 9, 10, 11
};

If I make the Content type a String, it doesn’t work because it adds " to the beginning and end of the numbers.

If I set the Content type to Number, I cannot use comma(,).
How can I add elements to a number array?
Thanks for your feedback.


#2

Hi:

We’ve sent this to our software engineer to solve this problem,please wait patiently.


#3

Hi,
Did your engineers suggest a solution to the issue?
Good work…


#4

Hi Mustafa:

They said this problem can’t be solve for now,very sorry about that,if you still have any question please feel free to contact with us.


#5

Thank you for your interest. I wish you good work.