SecreC 2 language 2.9.0 (2026.10)
Language and standard library reference
Loading...
Searching...
No Matches
Functions
argument

Functions

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

Detailed Description

Function for accessing the named program arguments of shared2p 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()

template<domain D :shared2p , type T>
D T argument ( string  name)
Returns
An argument of scalar type.
An argument of 1-dimensional array type.