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,640 of 68,980    |
|    Kerr-Mudd,John to McCormack    |
|    Re: In what way is ";' (semi-colon) a sp    |
|    09 Oct 20 20:59:01    |
      From: notsaying@127.0.0.1              On Fri, 09 Oct 2020 18:15:04 GMT, gazelle@shell.xmission.com (Kenny       McCormack) wrote:              > I am checking to see if something is a ";", with:       >       > if ;==; echo Yes       >       > I find that doesn't work - get error message "Yes is not expected at       this       > time". If I change it to:       >       > if ";"==";" echo Yes       >       > it works. Why? I think it also works as:       >       > if ^;==^; echo Yes       >       > So, the semi-colon must be special in some way.       >              That'll be it; there a list on page ... OK, I don't really have a DOS 3.3       Manual in front of me. It's in the attic.              Just about all punctuation have special meaning these days.              This chap has it covered       https://www.robvanderwoude.com/escapechars.php                     --       Bah, and indeed, Humbug.              --- 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