Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

RE: RE: RE: until loops

by Anonymous Monk
on Jun 28, 2000 at 05:11 UTC ( #20110=note: print w/replies, xml ) Need Help??

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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://20110]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2018-01-16 20:26 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (191 votes). Check out past polls.