Reply to Re: Custom procedures, return, script_used() etc.
If you don't have an account, just leave the password field blank.
Arguments are the stuff between the parentheses when you call a function, and each argument is separated by commas. So for say("baa",1); the first argument is "baa" and the second argument is 1.
I have no idea why you would want to pass frivolous arguments to create_sprite. At best it won't have any effect.
external() and custom global functions are the only function in DinkC that doesn't always require a certain number of arguments (e.g. create_sprite requires 5 arguments). External can take 2-10 arguments and custom globals 0-8. Note that external("bomb","make_bomb") is effectively the same as external("bomb","make_bomb",0,0,0,0,0,0,0,0);
I have no idea why you would want to pass frivolous arguments to create_sprite. At best it won't have any effect.
external() and custom global functions are the only function in DinkC that doesn't always require a certain number of arguments (e.g. create_sprite requires 5 arguments). External can take 2-10 arguments and custom globals 0-8. Note that external("bomb","make_bomb") is effectively the same as external("bomb","make_bomb",0,0,0,0,0,0,0,0);






