Divooka Reference

Runtime Environment

2 nodes

On this page 2

Program Arguments

Function

Equivalent to "Get" and "Set".

Signature
ProgramArguments() -> Text Array
string[] ProgramArguments()

Returns

resultText Array

Remarks

Usually directly set by the environment - and until this read through to
Contracts.DivookaProgramArguments, nothing ever set it, so a Flows or Events document had no way
to reach the command line at all. Those two kinds declare no inputs and never take arguments, so this
is the way they were meant to.

The store lives lower down because the host that fills it must not link a distribution package to do
so; this is the node-facing name for it.

Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Runtime Environment
Package
Platform

Get Environment Variable

Function

Get string value of named environment variable. Returns empty string if not available.

Signature
GetEnvironmentVariable(name: Text) -> Text
string GetEnvironmentVariable(string name)

Parameters

nametypedefaultdescription
nameText—Name of variable.

Returns

resultText
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Runtime Environment
Package
Platform