gfxgfx
 
Please login or register.

Login with username, password and session length
 
gfx gfx
gfxgfx
 
Members, please note that our guidelines are located here.
 
gfx gfx
gfx
484586 Posts in 28410 Topics by 2464 Members - Latest Member: austinrobert July 11, 2020, 08:07:12 PM
*
gfx* Home | Help | Calendar | Login | Register | gfx
gfx
The Gaming Universe  |  The Archives  |  Archived Projects  |  Open Zelda  |  OZ Help (Moderator: red_team316)  |  First Array
gfx
gfxgfx
 

Author Topic: First Array  (Read 432 times)

Offline KingOfHumans

  • Messiah
  • ******
  • Posts: 17,866
    • View Profile
First Array
« on: September 06, 2010, 02:27:29 PM »
Without using a for loop, can I check an array to return the first array that is set to true?

new Exists[3] = {false,true,true};
Needs to return a number 2.

Offline Khatuni

  • Executive
  • ***
  • Posts: 1,007
    • View Profile
First Array
« Reply #1 on: September 06, 2010, 02:45:29 PM »
You can use a while loop instead.  :p  Otherwise I dunno.

The Gaming Universe  |  The Archives  |  Archived Projects  |  Open Zelda  |  OZ Help (Moderator: red_team316)  |  First Array
 

gfxgfx
gfx
SMF 2.0.17 | SMF © 2019, Simple Machines Page created in 0.248 seconds with 22 queries.
Helios Multi © Bloc
gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!
anything