The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
Sequence (i.e. switch) Question
RaideX Offline
Member

Posts: 212
Threads: 33
Joined: May 2013
Reputation: 7
#1
Sequence (i.e. switch) Question

Hey everybody,

I've been trying to get a bit more experienced in coding and stumbled upon sequences / switches.

I understand the concept of the whole thing but this one thing that still won't get in my head (or maybe i'm just too dumb to read, idunno) is:

How does the iIntroPart Integer go from 1 to 2 or upwards? (best to look at the link above. The finished code is at the bottom of the page)

Because, as i've understood it, the cases go from case1 to case2 (and so on) if the parameter of the switch function changes to the according numbers.


I have the harsh feeling that i've just missread this whole thing or maybe i just interpret it wrong. Hope that you guys can help

-RaideX

If you don't draw first, you don't get to draw at all... -The False Shepherd
(This post was last modified: 12-04-2013, 04:00 PM by RaideX.)
12-04-2013, 03:59 PM
Find


Messages In This Thread
Sequence (i.e. switch) Question - by RaideX - 12-04-2013, 03:59 PM
RE: Sequence (i.e. switch) Question - by RaideX - 12-04-2013, 05:10 PM



Users browsing this thread: 1 Guest(s)