Skip to content

tuple_environmentTupleEnvironmentTupleEnvironmenttuple_environmenttuple_environment🔗

説明🔗

tuple_environmentTupleEnvironmentTupleEnvironmenttuple_environmenttuple_environment — 1 つもしくは複数の環境変数を読み込む。

書式🔗

tuple_environment( string Names, out string Values )void TupleEnvironment( const HTuple& Names, HTuple* Values )static void HOperatorSet.TupleEnvironment( HTuple names, out HTuple values )def tuple_environment( names: MaybeSequence[str] ) -> Sequence[str]

def tuple_environment_s( names: MaybeSequence[str] ) -> strHerror tuple_environment( const char* Names, char* Values )

Herror T_tuple_environment( const Htuple Names, Htuple* Values )

HTuple HTuple::TupleEnvironment( ) const

HTuple HTuple.TupleEnvironment( )

説明🔗

tuple_environmentTupleEnvironment は入力 tuple Namesnamesnames で指定された 全ての環境変数の内容を読み込み、出力 tuple Valuesvaluesvalues に返します。入力 tuple は文字だけを含んでいる必要があります。有効 な環境変数でない場合、Namesnamesnames にある各名前に対して、空文字 が返されます。

文字列の操作の概要はTuple / String Operationsをご覧ください。

例外: 入力tuple が 空🔗

入力tupleが空の場合、この関数は空のtupleを返します。 加えて、有効な環境変数を提供しない Namesnamesnames 内の すべての名前に対して空の文字列が返ります。

HDevelopインライン演算🔗

HDevelopは tuple_environmentTupleEnvironment の代わりとなるインライン演算を備えており、以下の構文形式で使 用することができます::

Values := environment(Names)

実行情報🔗

実行情報
  • マルチスレッドタイプ: リエントラント(非排他なオペレーターと並列に動作)

  • マルチスレッドスコープ: グローバル(他のスレッドから呼び出される可能性あり)

  • 並列演算処理には未対応

パラメーター🔗

Namesnamesnames (input_control) string(-array) → (string)HTuple (HString)HTuple (string)MaybeSequence[str]Htuple (char*)

環境変数の名前を含む tuple

Valuesvaluesvalues (output_control) string(-array) → (string)HTuple (HString)HTuple (string)Sequence[str]Htuple (char*)

環境変数の内容

他のオペレーターとの組み合わせ🔗

組み合わせ

他の選択候補

tuple_strstrTupleStrstr, tuple_strrstrTupleStrrstr, tuple_strchrTupleStrchr, tuple_strrchrTupleStrrchr, tuple_strlenTupleStrlen, tuple_str_first_nTupleStrFirstN, tuple_str_last_nTupleStrLastN, tuple_splitTupleSplit, tuple_substrTupleSubstr

モジュール🔗

Foundation