LPARAMETERS Command
| Visual FoxPro 9.0 SP2 |
| LPARAMETERS Command |
| See Also |
|
Assigns data passed from a calling program to local variables or arrays.
LPARAMETERS Parameter1 [AS type [OF ClassLib]] [, Parameter2 [AS type [OF ClassLib]]] |
Parameters
- LPARAMETERS ParameterList
-
Specifies one or more local variable or array names to assign data from the calling program. Use commas to separate multiple parameters in ParameterList. You can pass a maximum of 26 parameters.
Note The LPARAMETERS statement must specify at least as many parameters as used by the call to the program, procedure, or function containing the LPARAMETERS statement. If more variables or arrays are listed in the LPARAMETERS statement than are passed by the calling program, the remaining variables or arrays in the LPARAMETERS statement are initialized to False (.F.).
- [ AS type [OF ClassLib] ]
-
Specifies the data type of the local variable or array and the class library containing the type description of type which this variable or array is based on.
You can use the AS clause to implement strong typing. IntelliSense functionality is available for object and variable references only when they are strongly typed. For more information, see How to: Implement Strong Typing for Class, Object, and Variable Code.
Remarks
See Also
© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic
Microsoft Visual FoxPro 9 SP2 Help file, VFPX Edition v1.08