LT does not support array declaration in C-style with square brackets, you have to use loose datasets instead:
dataset dsX, dsY;
int k;
loop(k, 1, parm) {
dsX[k] = start + (k-1) * i * 2;
dsY[k] = dsX[k] + 1;
}
https://www.originlab.com/doc/de/LabTalk/ref/Datasets
PS. You can save time by reading of manuals.