What's the difference between:
void main (int amount)
and
void main()
{
int amount;
}
?
Separate question: If I define something in a subprogram (feel free to correct the terminology) will it be defined in the other subprograms? If I define it in the main program will it be accessible by...
Gah...
How idiotic of me. I even renamed "booze" to "booze1" as I was worried that booze might be some kind of command. Then I go and do that with drink.
Thanks guys.
I want to learn the basics from the ground up. Booleans were just one example.
I can make educated guesses by looking at...
Let me start by saying I have read the manual (twice) and I've looked at various finished scripts. I'm completely new to this particular type of programming so I've been trying to reverse engineer existing scripts without a full grasp of the basics.
As a result: Problems.
What this part (pasted...