6arredja
11-18-2004, 01:42 PM
What does the += mean in this code?
begin += NameOfCookie.length+1;
Serex
11-18-2004, 01:49 PM
+= will add the value of NameOfCookie.length + 1 back into the value of begin.
think of it like this
begin = 0;
begin += 2; // begin now = 2
begin += 5; // begin now = 7
its basically saying
begin = begin + 2;
begin = begin + 5;
so in your case
begin = begin + ( NameOfCookie.length + 1 );
begin += NameOfCookie.length + 1; // same
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.