testlist
interactively
(User input is blue.)
> testlist insert last dog inserted last: dog insert first cat inserted first: cat insert after person inserted after current: person insert before bird inserted before current: bird show current current item: bird show first first item: cat show last last item: dog show all list: (cat,bird,person,dog) reset reset to: cat advance advanced to: bird delete current deleted: bird delete last deleted: dog show all list: (cat,person) clear cleared show current current item: NULL delete current deleted: NULL show all list: () # this is a comment line #this is another comment line input last frog bad command: input insert after missing item to insert show missing position to show Show first bad command: Show show 1st bad position: 1st quit >