I know that you can assign a multi-line string to such a variable:
MyVar =
(
this
is
a
string with multiple
lines
)
But is there a way to assign the above string to an object? I tried to do it like this, but I got an error message:
Array := {}
Array["key"] =
(
this
is
a
string with multiple
lines
)
The error says:
The following variable name contains an invalid character "this is a
string"
I just want to open my script in a text editor and copy and paste lines from several lines directly into the editor as properties of the objects.
source
share