User LayoutEditorFull Monday 23rd July 2018
Why does this array declaration cause an error in LayoutEditor macro?
```C++
double pp[3]={1200.0, 200.5, 0};
```
This is a valid declaration in C++.
Jürgen LayoutEditorFull Tuesday 24th July 2018
In LayoutEditor macros, not all C++ syntax is supported. You can define an array, but the assignment has to be done in a second step. For your example, you need to do:
```C++
double p[3];
p[0]=1200.0;
p[1]=200.5;
p[2]=0;
```
I will check whether this syntax can be added.