The Dink Network

Reply to Re: New *WORKING* cross-platform editor

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
June 25th 2011, 05:37 PM
slayer.gif
darksign13
Peasant He/Him United States
Hungry, Horney, and Helpless... Take me home. 
Here's a thought on looping:

void main( void )
{
int &num = 0;

void proca( void )
{
if ( &num < 5 )
{
procb();
}
}

void procb( void )
{
&num += 1;
say_stop("Loop &num", 1);
proca();
}

I haven't given this a shot, but if I am thinking correctly, this should loop 5 times then quit. Has anyone else tried this? Will this work in dinkc like it works for C/C++?