I propose to add a new switch "-i" for the "$read()" identifier, which, when reading lines of a file, will preserve all types of indentation, similar to a space, in the result response.

Example:

  1. 5th line of the file:    line   reading   test
  2. Command input: //echo -a $read(file.txt, i, 5)
  3. Return result:    line   reading   test



The need for this innovation arose after discussing the problem in another thread: #Post271814

Note: Most likely, something similar will need to be done for the variables in which such data will be stored.


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