-
August 26th, 2009, 01:56 AM
#1
Beginner question about functions.
I'm currently wondering the following:
I've wrote a couple functions that call other functions, this forces me to add more arguments to the function doing the calling because the function it calls requires the extra arguments.
I was wondering if there is a way to essentially to get the variables into the function that needs to call another function without adding more arguments.
I would like to keep the functions I make nice and simple and keep the arguments down to a minimum for future use so I don't have to brush up on a given function because it has a lot of arguments.
Also I have a general question to any one out there:
As a beginner to programming, I haven't seen many functions other than my own, so I'm wondering how many arguments would the average function have?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|