Recently, I have noticed that JSL is reporting unknown message for valid code. Below is the latest example (unknown messages highlighted):
Names Default to Here(1);
Delete Symbols();
databaseFile = Pick File(
"Select Music Collection File",
"$DOCUMENTS",
{"Music Collection|csv"},
1,
0
);
albumTable = Open(databaseFile);
albumTable << Delete Rows(N Rows());
:Name("Artist/Album") << Set Name("Title");
:Single 2 << Set Name("CD Single");
:LP << Value Labels({0 = "False", 1 = "True"});
:EP << Value Labels({0 = "False", 1 = "True"});
:Single << Value Labels({0 = "False", 1 = "True"});
:Album << Value Labels({0 = "False", 1 = "True"});
:CD Single << Value Labels({0 = "False", 1 = "True"});
:Want << Value Labels({0 = "False", 1 = "True"});
albumTable << New Column(
"Artist Block",
Character,
Formula(If(:Format == "", :Title))
);
albumTable << New Column(
"Artist",
Character,
Formula(
If(Row() != 1,
If(:Artist Block == "",
Lag(:Artist, 1),
:Artist Block
),
:Artist Block
)
)
);
albumTable << Move Selected Columns({"Artist"}, To First);
tableName = albumTable << Get Name();
artistCategoryTable = albumTable << Subset(
Output Table("Artist Category " || tableName),
Copy Formula(0),
All Rows,
Selected Columns Only(0)
);
Close(albumTable, NoSave);
artistRowFilter = artistCategoryTable << Data Filter(
Mode(Include(1)),
Inverse(1),
Add Filter(
Columns(:Artist Block),
Where(:Artist Block == "")
),
Invisible
);
artistCategoryTable << Delete Rows;
artistCategoryTable << Delete Columns(:Artist Block);
artistRowFilter << Clear;
artistRowFilter << Delete;
As in other scripts where I have seen this color coding, this script runs without issue. Any ideas on why valid JSL messages are being flagged as unknown?