BullyWiiHacks
Welcome dear guest! Very Happy

To start posting and being part of the BWH community, you simply need to register an account or log into an existing one.

If you do not wish to register at all, that's fine but there will be more advertisements. :/

You can probably see and download most content provided for regular members even without an account.

Your contributions will be greatly appreciated though, give it a shot and register today! thumbsup

Join the forum, it's quick and easy

BullyWiiHacks
Welcome dear guest! Very Happy

To start posting and being part of the BWH community, you simply need to register an account or log into an existing one.

If you do not wish to register at all, that's fine but there will be more advertisements. :/

You can probably see and download most content provided for regular members even without an account.

Your contributions will be greatly appreciated though, give it a shot and register today! thumbsup
BullyWiiHacks
Would you like to react to this message? Create an account in a few clicks or log in to continue.
BullyWiiHacks

Gaming, Modding & Programming

Important reminders:

- Click *HERE* for advanced forum search or check out the text field below on the front page for Google before posting
- NO support via private message (use the forum)
- Write meaningful topic titles
Site Translation
Latest topics
» Error Injecting Drool Links Saliva Mod Menu
While Statement Empty10/18/2024, 2:58 am by SnB@BWH

» USB Gecko problems with some games
While Statement Empty10/16/2024, 1:59 pm by Reclaimer Shawn

» JMaster Duel Bot: A Yu-Gi-Oh! Master Duel Bot and Trainer for Steam
While Statement Empty10/11/2024, 2:21 pm by z1379228

» Metal Gear Solid V The Phantom Pain X Flashpoint Batman Gameplay unedited [Seth@WiiPlaza]
While Statement Empty9/23/2024, 12:48 pm by Seth@WiiPlaza

» Dropped Out of College to Pursue Web Dev and Life Pursuits in General
While Statement Empty8/9/2024, 7:09 am by SnB@BWH

» Lego Stars Wars: The Complete Saga [RLGE64]
While Statement Empty8/1/2024, 2:04 am by Whatever_1240

» ASM <> Gecko Code Converter
While Statement Empty7/29/2024, 11:15 am by Mac11ngAround

» German With a Jackhammer
While Statement Empty7/28/2024, 3:42 pm by SnB@BWH

» Wii RAM Hacking: Pointers and ASM
While Statement Empty7/23/2024, 1:54 pm by Mac11ngAround

» IBM AIX Assembler Programming Reference - Useful For PPC ASM
While Statement Empty7/21/2024, 5:00 pm by Mac11ngAround

Search
 
 

Display results as :
 


Rechercher Advanced Search

November 2024
MonTueWedThuFriSatSun
    123
45678910
11121314151617
18192021222324
252627282930 

Calendar Calendar

Country Statistics
Free counters!

You are not connected. Please login or register

While Statement

Go down  Message [Page 1 of 1]

1While Statement Empty While Statement 8/31/2014, 11:01 am

Bully@WiiPlaza

Bully@WiiPlaza
 
 

The while statement runs the body as long as the condition given evaluates to 1 ("true") otherwise it'll exit.
Code:
while(condition)
{
  keepDoingThis();
}
Conditions:
http://www.bullywiihacks.com/t3962-

Example
Code:
counter = 0;

while(counter < 100)
{
    counter = counter + 1;
}
This firstly declares a variable and sets it to 0. Then, it increases the variable counter by 1 each loop until it reaches 100, then exits.

Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum