contents.gifindex.gifprev1.gifnext1.gif

List_Inx_Val

Purpose

Returns the contents of an item in bracketed list.

Arguments

List_Inx_Val(

<list-string> // An explicit quoted bracketed list.

<inx val> // A number denoting the ordinal of the desired list item.

)

Notes

There is no evaluation of the contents of the list item. The literal contents are returned.

Example

List_Inx_Val( '[A][B][C][D]' ,3 )

Returns: C

List_Inx_Val( '[A][B][C]["WOW"]' ,4 )

Returns: "WOW" // Quotes included.