Anyone know some tutorails on select statement.
My book merely has 1 page about it and does not explain too well...
and blitzcoder has no tuts...
Far as I know its like a type... well not like it but typed like a type..
Select (varible name)
Case etc etc
End select
It basicly allows u to check a varible for whats going on instead of typing
if player hit then
;take 2 points away
playerlife = playerlife -2
but with select it can be done like this right?
Select Playerhit
Case Playerhit
Playerlife = playerlife - 2
Case Playerjumped And hit
playerlife = playerlife - 3
Case Playerdead
playerlife = playerlife = DEAD or what ever... LOL
Am i correct or wrong here
My book merely has 1 page about it and does not explain too well...
and blitzcoder has no tuts...
Far as I know its like a type... well not like it but typed like a type..
Select (varible name)
Case etc etc
End select
It basicly allows u to check a varible for whats going on instead of typing
if player hit then
;take 2 points away
playerlife = playerlife -2
but with select it can be done like this right?
Select Playerhit
Case Playerhit
Playerlife = playerlife - 2
Case Playerjumped And hit
playerlife = playerlife - 3
Case Playerdead
playerlife = playerlife = DEAD or what ever... LOL
Am i correct or wrong here