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,639 of 68,980    |
|    JJ to Kenny McCormack    |
|    Re: In what way is ";' (semi-colon) a sp    |
|    10 Oct 20 08:17:15    |
      From: jj4public@gmail.com              On Fri, 9 Oct 2020 18:15:04 -0000 (UTC), 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.              Unless it's double-quoted, and it doesn't have any special meaning for the       current command, it's treated as a delimiter. It'll be basically same as       whitespace.              --- 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