Catalog item parsing

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
jupe
Posts: 3462
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
To see the attached files, you need to log into the forum.

admin
Site Admin
Posts: 66564
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @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