http://qs1969.pair.com?node_id=20110


in reply to RE: RE: until loops
in thread until loops

so does $year++ mean that year gets incremented by 1 ?? or 2 ?

Replies are listed 'Best First'.
RE: RE: RE: RE: until loops
by ApoxyButt (Initiate) on Jun 30, 2000 at 21:57 UTC
    The ++ notation is common in many languages, like C, C++, and Java, and means "increment by one." Hence, C++ is C, but incremented by one. Pretty funny, huh? I tell you, I laugh every time I think about that.
Re: RE: RE: RE: until loops
by Anonymous Monk on Feb 07, 2001 at 07:09 UTC
    ++ means it increments by 1
Re: RE: RE: RE: until loops
by Anonymous Monk on Mar 05, 2001 at 03:11 UTC
    i dont know pearl but varible++ in C increments it by one