|
FAQ FOR WINDEV, WEBDEV AND WINDEV MOBILE |
|
| |
|
| | |
FAQ #2659, published on 2003-03-31 |
| [Topic: using parameters] In W-Language, a procedure parameter is passed by reference (when a value is modified inside the procedure, the external variable is also modified). How can we pass a parameter by value? |
To pass a parameter by value, insert the word "local" before the parameter name in the procedure declaration.
Example // procedure declaration procedure MyProc(local param1, local param2) |
| |
| | | | | | Informations contained on this site are the exclusive property of PC SOFT. These informations and logos CANNOT be copied and/or used without a written authorization from PC SOFT. © PC SOFT 2004-2024.
|
| |
| |
| |
| |
| |
| |
|
|
|