Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Weird error
OriginalUsername Offline
Posting Freak

Posts: 896
Threads: 42
Joined: Feb 2013
Reputation: 34
#8
RE: Weird error

(02-21-2013, 09:43 PM)Your Computer Wrote: The issue is that your for loop has a variable assignment for the second expression where it requires a boolean operator or something that returns true or false.

In other words, for (int i = 0; i = 10; ++i), the bold part is the problem. The assignment operator is not a boolean operator, so it doesn't return true or false. If you had < or <= instead of =, then it would work.

Thank you! It worked right away
02-22-2013, 12:34 AM
Find


Messages In This Thread
Weird error - by OriginalUsername - 02-21-2013, 03:38 PM
RE: Weird error - by FlawlessHappiness - 02-21-2013, 03:52 PM
RE: Weird error - by OriginalUsername - 02-21-2013, 04:39 PM
RE: Weird error - by FlawlessHappiness - 02-21-2013, 06:50 PM
RE: Weird error - by tonitoni1998 - 02-21-2013, 07:03 PM
RE: Weird error - by OriginalUsername - 02-21-2013, 09:12 PM
RE: Weird error - by Your Computer - 02-21-2013, 09:43 PM
RE: Weird error - by OriginalUsername - 02-22-2013, 12:34 AM



Users browsing this thread: 1 Guest(s)