Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.73 KB

FunctionOutParameter.md

File metadata and controls

34 lines (26 loc) · 1.73 KB

Out function parameter (FunctionOutParameter)

Description

The function must have no output parameters. All output must be in the return value. If you need to return multiple values, you should use such types as Structure, Array, etc.

Examples

// Incorrect:
ServiceURL = "";
UserName = "";
UserPassword = "";

FillConnectionParameters(ServiceURL, UserName, UserPassword);

// Correct:
ConnectionParameters = NewConnectionParameters();
// Returned value - Structure:
//     Service URL  - String
//     UserName     - String
//     UserPassword - String

Sources