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

Functions

template<type T, dim N>
void publish (string name, T[[N]] val)
 
void publish (string name, string str)
 

Detailed Description

Function for publishing the named values of public types.

Returns
An argument of 1-dimensional array type.
Note
N - any array size of any dimension
T - any data type
Parameters
nameThe name of the argument.
valthe value to publish under the given name. Accepts scalars as well as arrays.
strthe string value to publish under the given name.

Function Documentation

◆ publish() [1/2]

void publish ( string  name,
string  str 
)

◆ publish() [2/2]

void publish ( string  name,
T[[N]]  val 
)