ID:2140768
 
(See the best response by Nadrew.)
Code:

Problem description:

I know how to make a list, but is there a way to assign a value to list items?

For example. Say a input proc asks me to choose "A" "B" "C" and I want values of 1 2 and 3 assigned to them in a list.
Best response
var/list/my_list = input("A"=1,"B"=2,"C"=3)

src << my_list["A"] // 1
src << my_list[1] // "A"