Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

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 ?

Comment on RE: RE: RE: until loops
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2015-08-02 19:14 GMT
Find Nodes?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...

    Results (10 votes), past polls