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

Functions

string argument (string name)
 
template<type T>
T argument (string name)
 

Detailed Description

Function for accessing the named program arguments of public types.

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

Function Documentation

◆ argument() [1/2]

string argument ( string  name)
Returns
An argument of string type.

◆ argument() [2/2]

template<type T>
T argument ( string  name)
Returns
An argument of scalar type.