I now think that it was not a bad idea but bad timing! I want to publish a new official version ASAP so it was stupid to open that little can of worms now.
So: IF you are changing your scripts and UDCs to conform to the new syntax, please wait a minute. I might go back to the old syntax!
But here's the good news: There is a way to build your lines that conforms to both syntaxes. So please choose this way for now and you are on the safe side:
Works with both syntaxes whether there are blanks or not:
::open ""application""
::open "application" parameters
::open ""application" parameters"
::open """application"" parameters"
Works only with the old syntax IF application has blanks:
::open application
Works only with the new syntax AND IF application has no blanks:
::open application parameters
Concerning the Catalog and UDC dialogs:
Please do not put quotes around items-that-have-blanks in input fields (unless they have parameters, too). With the new syntax you have to do this, but I don't like this! It should never be necessary to manually quote an item in a field. I will find a way to handle it without quoting, either by going back to the old syntax or some other way.
Later, after 7.40, I might add a special input field for parameters.
Recent change of quoting in scripting, UDC etc.
-
admin
- Site Admin
- Posts: 66075
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
XYplorer Beta Club