new-list mylist
write-list mylist key "key1" value "value1"
write-list mylist key "key2" value "value2"
write-list mylist key "key3" value "value3"
position-list mylist last
start-loop
read-list mylist key k value v
@Obtained key <<p-out k>> with value <<p-out v>>
position-list mylist previous status s
if-true s equal GG_ERR_EXIST
break-loop
end-if
end-loop
start-loop
read-list mylist key k value v status s
if-true s equal GG_ERR_EXIST
break-loop
end-if
@Again obtained key <<p-out k>> with value <<p-out v>>
position-list mylist next
end-loop
purge-list mylist
Copied!