findInPlist()

概要

返される値は、 list で次の名前になります。 name list 、 または値が見つからない場合は、名前の後に、 NoValue が返されます。

plist の名前と値のペアの list "Property List"の略語です。 name [インジケータと呼ばれます。

構文

findInPlist ( indicator As Name, _
              plist As List ) As Any 
引数 [タイプ] 説明
indicator Name Plist 内を検索するには、 name をクリックします。 一致する最初の name [次の値が返されます。
plist List プロパティ list とも呼ばれる、名前と値のペアの list をクリックします。

例 1

Intent >findInPlist(:b, {:a, 1, :b, 2, :c, 3}) 
--> 2 

例 2

名前 'd 'Intent >findInPlist(:d, {:a, 1, :b, 2, :c, 3}) 
--> NoValue 
' list にありません。

例 3

名前 'd 'Intent >findInPlist(:d, {:a, 1, :b, 2, :c, 3, :d}) 
--> NoValue 
' list にありますが、次の値を返します。