allocNameValue

Allocate a new variable via xmalloc that can be added to the global environment. The resulting string will be null-terminated immediately after the end of the array.

nothrow nothrow
string
allocNameValue
(
const(char)[] name
,
const(char)[] value
)

Parameters

name const(char)[]

name of the variable

value const(char)[]

value of the variable

Return Value

Type: string

a newly allocated variable that can be added to the global environment

Meta