SecreC 2 language  2.8.0 (2023.09)
Language and standard library reference
Functions
argument

Functions

template<domain D :shared3p , type T>
D T argument (string name)
 

Detailed Description

Function for accessing the named program arguments of shared3p types.

Note
T - any data type
Parameters
nameThe name of the argument.
Returns
returns the value associated with the argument specified by parameter name.

Function Documentation

◆ argument()

D T argument ( string  name)
Returns
An argument of scalar type.
An argument of 1-dimensional array type.