The Dink Network

Reply to Re: dang, got sucked into it again.

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:
 
 
April 17th 2005, 07:03 AM
fish.gif
Simeon
Peasant He/Him Netherlands
Any fool can use a computer. Many do. 
Commands do have formats. The format would describe the command with the type of parameters it requires, like:

int do_this_command(int value, int value, double value);
int do_other_command(char string[100]);
int say( char string[100], int sprite );

Every parametere would also have its own range of values that can be entered. For example, in DinkC the move_stop command, the second parameter is limited to the values of the numpad minus 5 and generally also 1,3,7 and 9 - you can't enter 50 there because the command can't function if the parameter has that value.

void move_stop( int sprite, int direction, int destination, bool nohard );