Originally Posted by Wims
The n switch on $read and other switches on $read and $readini (but all identifiers' switches in general) do not take the dash character before them, unsure if the dash is ignored and it still work or not.

Quite right. Adding a dash next to the "-nw" switches in a identifier $read is the older way, but this does not affect negatively the operation of the identifier in any way.

According to my observations during testing: "$read(file.txt, -nw, match)" or "$read(file.txt, nw, match)" - both examples works the equally.

In this case, it's an old habit of mine, and i like that more, how the switches stand out visually better in a line of code. However, it is of course recommended to use the new standard without dashes.



🌐 https://forum.epicnet.ru 📜 irc.epicnet.ru 6667 #Code | mIRC scripts, help, discuss, examples