Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch.nt    |    Fun with Windows NT batch files    |    68,980 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 67,783 of 68,980    |
|    Tom Del Rosso to Robert Prins    |
|    Re: Get String Length    |
|    03 Sep 21 22:20:16    |
      From: fizzbintuesday@that-google-mail-domain.com              Robert Prins wrote:       >       > We're living in 2021, why write convoluted code when there are much       > better languages to do this? REXX (available for about every OS) can       > do it in one line, and if you only use Windoze, PowerShell would       > probably do it.              You can also do it with one line in a batch file like so:              call :GetStringLength              Everyone here knows other languages. We use batch when it's the best       choice.              If it's never the best choice for you, then you wouldn't have come here.              BTW REXX was included in OS/2 in 1993. I was an advocate. No one       listened. Since you emphasize that it's 2021 you probably should have       suggested Python.              And also, successive approximation isn't convoluted. It has a lot of       applications. There are successive approximation register chips that do       it in hardware for A/D conversion. My method was IMO very       straightforward and readable, and I'm a fan of Knuth's law, "A program       should be readable by humans first and computers second."              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca