Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 10-20-2003, 05:21 PM   #1 (permalink)
Stupidnewb
Registered User
 
Stupidnewb's Avatar
 
Join Date: Oct 2003
Posts: 6
Stupidnewb is on a distinguished road
I just forgot something really easy!

I have this project to do on where we call a gazillion methods and I totally spaced on what the value of += and -= where , is there a place I can visit that his them readily available? Also can someone remind me again what they mean?
Stupidnewb is offline   Reply With Quote
Old 10-21-2003, 04:50 AM   #2 (permalink)
DarkTwilkitri
Registered User
 
Join Date: Feb 2003
Location: Australia
Posts: 21
DarkTwilkitri is on a distinguished road
I'm not entirely sure what you mean... but if you mean what I think you do...

var1 += var2
=> var1 = var1 + var2

var1 -= var2
=> var1 = var1 - var2



Quote:
is there a place I can visit that his them readily available?
...I don't understand...
DarkTwilkitri is offline   Reply With Quote
Old 10-22-2003, 09:53 AM   #3 (permalink)
.pakmon.
Guest
 
Posts: n/a
yep

that's it!

counter += y
means

counter = counter + y

(hrmm... just like c++ eh! heh)
  Reply With Quote
Old 10-22-2003, 09:53 AM   #4 (permalink)
.pakmon.
Guest
 
Posts: n/a
yep

that's it!

counter += y
means

counter = counter + y

(hrmm... just like c++ eh! heh)
  Reply With Quote
Old 10-22-2003, 03:00 PM   #5 (permalink)
Stupidnewb
Registered User
 
Stupidnewb's Avatar
 
Join Date: Oct 2003
Posts: 6
Stupidnewb is on a distinguished road
Thanks!
Stupidnewb is offline   Reply With Quote
Old 10-23-2003, 04:22 AM   #6 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,139
Belisarius is on a distinguished road
Re: yep

Seeing as Java was designed as an improvement on C++, doesn't seem too suprising.

Quote:
Originally posted by .pakmon.
that's it!

counter += y
means

counter = counter + y

(hrmm... just like c++ eh! heh)
__________________
GitS
Belisarius is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Forgot to use friendly HTML representatives DavH27 Feedback 1 10-28-2004 05:22 PM
Easy way to tell the data type of a string? Epsilon PHP 2 06-16-2004 05:21 PM
I just forgot something really easy again. Stupidnewb Java 6 12-09-2003 12:18 PM
Easy Template System randy PHP 0 05-27-2003 08:33 AM
Easy Synchronization between MySQL DBs sde PHP 1 05-19-2003 01:54 PM


All times are GMT -8. The time now is 12:55 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting