function appendEnvironmentVar input String var; input String value; output String result "returns \"error\" if the variable could not be appended"; end appendEnvironmentVar;