The Dink Network

Reply to Re: The Three Pillars of Dink v1.08

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:
 
 
August 29th 2005, 08:27 PM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
Ah, I think I understand now. I wasn't really used to using variables from calling functions. One more thing:

void main( void )
{
int &x = 3;
}

void hit( void )
{
say("&x",1);
}

If you hit it, would Dink then say 3, because it uses the one from the main() proc, or would he say 0, because it tries to get &x from the calling function, which is in this case nonexistant (at least, not in any .c script).