Are you getting errors referring to parameters? What's your code, failing, if so?
If it's just a general question:
A Parameter has two sides: If you develop a function you define parameters, to which values can be passed in by a caller. Parameters are simply variables, which are initialised by values calling code sends in. If you are the called, parameters are there for you to specify needed input, eg calling a file opening function you need to specify the file name you want to open.
Parameters make code flexible, something is done depending on the parameter values given.
Parameters can be optional or non optional, for example the DATE() function works without parameters, giving today's date, or with parameters, specifying any other date's year, month and day:
? DATE()
? DATE(2000,3,4)
On top of that you should watch some basic learning videos, eg
Could you be more specific in your question? What is it about parameters that you don't understand? Do you have any particular problems with using parameters? How much do you already know?
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
Jess, it's not really the purpose of this forum to teach Visual FoxPro. We can answer specific questions, and we can try to solve particular problems. But we are not here to give general teaching or instruction.
Olaf has suggested some sources where you might get basic information about parameters. Another good source is the VFP Help file. If you search for "parameters", you will come up with a dozen or so topics that should help.
I don't want to discourage you from asking questions in the forum. I suggest you read the information we have pointed you to, then come back here when you have specific questions.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.