Catalog item parsing

Things you’d like to miss in the future...
Post Reply
jupe
Posts: 2669
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Catalog item parsing

Post by jupe »

Since dual loc intro, if I use a catalog item with a script that has a line something like this somewhere near the start/top,

if (1==1 || 2==2) { e 1; }

XY identifies it as a dual loc and sets that icon, as well as interpreting it as paths (probably to be expected since no trailing scolon), but even if I use the explicit script marker, it is still parsed incorrectly and produces a scripting error, and the icon is unchangeable without modifying the script. I know there are ways to avoid this scenario, and/or script around it, but thought I'd mention it anyway, in case you think it can be improved.

2023-12-29_160504.png
2023-12-29_160504.png (7.25 KiB) Viewed 216 times

admin
Site Admin
Posts: 59751
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Catalog item parsing

Post by admin »

Ah, of course! :tup: Will work in next beta, even without the explicit script marker.

Post Reply