Don't even bother yourself with it, unless you plan on doing coding in the future.
Last edited by Mshine67; 09-03-2012 at 04:47 PM.
This is my first photoshop creation, please let me know in PM what you think, pros and cons, how It could be improved and things of that manner. Or skype gsjackson413
Successful Trades 23
Scams 0
Vouches Uncountable Amount
Useful links: MPGH Rules | Scammers Grave | Support Sections | How to use IM
Contact me: Visitor Message | Add me on IM | Private Message
Other links: Social Engineering Section | Announcements
MPGH Dark Theme
Super User since 02.02.2020
Global Moderator since 09.23.2017
Moderator since 09.01.2016
Minion+ since 07.22.2016
Marketplace Minion since 06.09.2016
Trove Minion since 06.06.2016
Middleman since 04.21.2016
Social Engineering Minion since 02.03.2016
News FO Freelancer From 11.08.2015 to 07.23.2016
News FO Head Editor From 08.23.2015 to 11.08.2015
News FO Head Editor From 07.19.2012 to 08.11.2014
MPGH News and News FO Founder
Programming Minion From Unknown to 04.23.2013
Minecraft Minion From 09.19.2012 to 04.23.2013
Member since 05.13.2012
DEAR MOTHER OF FUCKING GOD GUYS.
!= is the valid expression. != is not equal to.
a=!b is the assignment operator then the negation operator. If you seperate the tokens, it becomes a lot cleaer (a = !b).
So
if(y=!false) {}
will always execute, no matter what y is equal to. You assign 'y' to !x, !(false), is evauluted as true.
if( (y=!false) ) {} is if(y = true){}, which, as an expression is always true.
Sure y=!false compiles, but it doesn't do anything like what you think it does. Seriously, slap yourselfs in the face for having this large of a discussion over this nonsense.
---------- Post added at 01:47 AM ---------- Previous post was at 01:36 AM ----------
No :S Your tests weren't done properly. In the second bit, you assign y to !NULL, or !(0) or !false, which is true.
Test=!NULL is
Test=!(0) is
Test=!false is
Test=true
is if(Test = true) {this will always execute, because you are evauluating the expression (Test = true), which is evaluated as an expression as true.
(y in my debugger is initally true (it wasn't initilized by the first picture), but after the assignment operation at the breakpoint, it was assigned to false.)
Read my explanation above.
Last edited by radnomguywfq3; 09-04-2012 at 01:54 AM.
There are two types of tragedies in life. One is not getting what you want, the other is getting it.
If you wake up at a different time in a different place, could you wake up as a different person?
[MPGH]Flengo (09-04-2012)
Useful links: MPGH Rules | Scammers Grave | Support Sections | How to use IM
Contact me: Visitor Message | Add me on IM | Private Message
Other links: Social Engineering Section | Announcements
MPGH Dark Theme
Super User since 02.02.2020
Global Moderator since 09.23.2017
Moderator since 09.01.2016
Minion+ since 07.22.2016
Marketplace Minion since 06.09.2016
Trove Minion since 06.06.2016
Middleman since 04.21.2016
Social Engineering Minion since 02.03.2016
News FO Freelancer From 11.08.2015 to 07.23.2016
News FO Head Editor From 08.23.2015 to 11.08.2015
News FO Head Editor From 07.19.2012 to 08.11.2014
MPGH News and News FO Founder
Programming Minion From Unknown to 04.23.2013
Minecraft Minion From 09.19.2012 to 04.23.2013
Member since 05.13.2012
I Read All Of My PM's & VM'sIf you need help with anything, just let me know.
Staff Administrator Since 10.13.2019
Publicist Since 04.04.2015
Middleman Since 04.14.2014
Global Moderator Since 08.01.2013
Premium Since 05.29.2013
Minion+ Since 04.18.2013
Combat Arms Minion Since 12.26.2012
Contributor Since 11.16.2012
Member Since 05.11.2010
It means not equal.