The Dink Network

Reply to Re: Looking for some basic DMOD-making advice

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:
 
 
September 23rd 2013, 05:18 AM
slimeg.gif
metatarasal
Bard He/Him Netherlands
I object 
Actually in C the first void specifies the type of the returned variable of the function. The second specifies that the function takes no parameters. Even though in DinkC sometimes functions containing ( void ) do take parameters and functions starting with void can sometimes return variables.

I can also remember that semicolons have fixed bugs for me in the past. Though that might be in the pre v1.08 era, I can't really remember.

EDIT: Also I seem to remember that in past versions the opening parenthesis was necessary. Man, things just get more and more minimalistic over time.