What is " == "?


Closed Thread
Results 1 to 6 of 6

Thread: What is " == "?

  1. #1
    Join Date
    Oct 2004
    Posts
    440

    Default What is " == "?

    What is " == "?
    Is it assembly?

    Norm

  2. #2
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Post

    The == operator is for comparison purposes in languages like; C, C++ and Java.
    Code:
       int a = 0;
       int b = 0;
    
       if (a == 100)
       {
          b = 200;
       }
    Just one "=" is used for assigning however though.
    Last edited by T.Jackson; - 2nd August 2007 at 09:35.

  3. #3
    Join Date
    Feb 2003
    Posts
    432


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by T.Jackson View Post
    The == operator is for comparison purposes in languages like; C, C++ and Java.
    Code:
       int a = 0;
       int b = 0;
    
       if (a == 100)
       {
          b = 200;
       }
    Just one "=" is used for assigning however though.
    and PHP
    Keith

    www.diyha.co.uk
    www.kat5.tv

  4. #4
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Default

    Speaking of PHP, I won last month's coding competition on PSC and there's a number of prizes that I'm eligible for. One of which includes a copy of Nusphere's PhpED valued at $299. http://shop.nusphere.com/customer/home.php?cat=9 it's an excellent IDE, arguably THE best PHP around.

    Thing is, I have no immediate use for it. (I already have v4.6 that I won last year) Question is, is there anyone here that would like a copy of it at a heavily discounted price, lets say $125 - any takers? If so, I'd be willing to accept this prize and forward it onto the purchaser.

  5. #5
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    966


    Did you find this post helpful? Yes | No

    Default

    Congratulations Trent

    I took a peek at your code of Donkey Kong. I consider myself advanced at VB6, but man, you are GOOD. You deserved to win.

  6. #6
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Default

    Thanks Jerson

    I took votes from 2 of the best coders on PSC with that - so I'm considerably quite pleased. However I didn't expect it to win this month though (it's not finished - no where near it in fact) Hope it may spark some considerable interest in the community whereby proving that VB isn't quite as incapable for making quality games as many people believe. On the other hand, it is also direct proof that VB isn't exactly THE most efficient language for writing games in. A PIII or better system is required for Donkey Kong (a relatively simple game by today's standards) Even with DirectX implemented - VB would struggle along at around 50fps on a mid end PIII. So it should come as no surprise that most serious game programmers today are relying on BlizBasic (which is what VB should have been for game programming) Anyhow, thanks for the sincere vote of confidence!

Similar Threads

  1. Logical vs Bitwise ==
    By Archangel in forum General
    Replies: 7
    Last Post: - 19th February 2010, 06:22
  2. 4 Bytes one button press
    By Dennis in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 15th January 2010, 22:36
  3. help: TMR0 interrupts disabling PORTAchange interrupts???
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 19th August 2008, 15:10
  4. LOTS of questions....
    By reaper0995 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 22nd March 2008, 17:00
  5. shifting problem
    By helmut in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 31st August 2007, 06:11

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts