Discussion forum for all Windows batch related topics.
Moderator: DosItHelp
-
Sponge Belly
- Posts: 226
- Joined: 01 Oct 2012 13:32
- Location: Ireland
-
Contact:
#1
Post
by Sponge Belly » 02 Apr 2013 12:58
Hello All!
I keep coming across lines of code like this:
Why is there a dot before the equals sign? What does it do? It doesn’t seem to make any difference whether I leave it in or not. Is it for good luck? Does it keep the bugs away?
Seriously, I presume it’s there for a reason. Someone please enlighten me!
- SB
-
jeb
- Expert
- Posts: 1043
- Joined: 30 Aug 2007 08:05
- Location: Germany, Bochum
#2
Post
by jeb » 02 Apr 2013 16:31
Hi Sponge Belly,
good question, as far as I know there is no special meaning or behaviour for a dot or any other character here.
You can use any or none.
I only use the dot for aesthetic reasons.
jeb
-
Sponge Belly
- Posts: 226
- Joined: 01 Oct 2012 13:32
- Location: Ireland
-
Contact:
#3
Post
by Sponge Belly » 03 Apr 2013 04:39
Hi Jeb!
Thanks for clearing that up for me.
- SB