![]() To see what this means, consider the following functions: Value parameters are passed by value, while variable parameters are passed by reference. Most parameters are either value parameters (the default) or variable ( var) parameters. Special rules apply to array parameters.įiles and instances of structured types that contain files can be passed only as variable ( var) parameters.Value parameters are always typed, while constant, variable, and out parameters can be either typed or untyped.Value parameters are the default the reserved words var, const, and out indicate variable, constant, and out parameters, respectively. Every parameter is classified as value, variable, constant, or out.Parameters are categorized in several ways: ![]() Do not redeclare the parameter names in the local declarations section of the procedure or function body. Within the procedure or function body, the parameter names ( X and Y in the first example) can be used as local variables.
0 Comments
Leave a Reply. |