# QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Employee

## Square Brackets [] inside an Inline Load

I´d like to know why a simple script like that causes an error

```LOAD * INLINE [
F1, F2
"", test
];
```

I know I can  do this

```LOAD Replace(Replace(F1,'{','['),'}',']') as F1, F2 INLINE [
F1, F2
"{a}", test
];
```

I´d like to know if there´s an easier way of doing this.

1 Solution

Accepted Solutions
MVP

## Re: Square Brackets [] inside an Inline Load

Hi all,

there is another more simple solution with quotes (esp. if you want to paste lots of data from wherever):

```LOAD * INLINE "
F1, F2
, test
";
```

- Ralf

18 Replies
MVP

## Re: Square Brackets [] inside an Inline Load

Don't know why, but this seems to work:

F1, F2

];

Employee

## Re: Square Brackets [] inside an Inline Load

But this does not

F1, F2

];

Employee

## Re: Square Brackets [] inside an Inline Load

Anyway, one more silly point

MVP

## Re: Square Brackets [] inside an Inline Load

This worked because two square brackets formed escape sequence: Escape sequences

MVP

SET ErrorMode=0;

F1, F2

"]", test

];

SET ErrorMode=1;

Employee

## Re: Square Brackets [] inside an Inline Load

maxgro‌, using QV 12

MVP

## Re: Square Brackets [] inside an Inline Load

That's what I got too....

Somehow this ->

F1, F2

];

is also creating issues for script after this load.

MVP

## Re: Square Brackets [] inside an Inline Load

Oh well, although the script editor doesn't understand it, the script still runs without issue:

F1, F2

];

Table:

Field

a

b

c

];

MVP

## Re: Square Brackets [] inside an Inline Load

I'm on 11.20. Not a good thing the result is so different 11 vs 12.