[Question] about em_cmds

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48166
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

why not having \n or reuse \r such syntax
Simple: These parameters were added in a later TC version than the original command. If I used \n, tools using that parameter would no longer work with older TC versions...
Author of Total Commander
https://www.ghisler.com
User avatar
nsp
Power Member
Power Member
Posts: 1821
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Post by *nsp »

ghisler(Author) wrote:
why not having \n or reuse \r such syntax
Simple: These parameters were added in a later TC version than the original command. If I used \n, tools using that parameter would no longer work with older TC versions...
I wasn't aware of this before some week ago !

This is a good point for who want to operate with TC from 6.5x to 7.zzz, a compromise could be to have \0 and \n or \r operate _from TC7._
In this case you preserve old external tool compatibility with TC7 and allow future tools to operate with the newest syntax and he newest TC....
Post Reply