diff --git a/List-methods.md b/List-methods.md index ce79f03..29d239c 100644 --- a/List-methods.md +++ b/List-methods.md @@ -6,9 +6,9 @@ Adds a new item to the end of the list. AddItem ControlID, "Item" ##SUB RemoveItem -Removes the item specified. An error will be raised if the item is beyond the total number of items. +Removes the item specified. - RemoveItem ControlID, ItemToRemove% + RemoveItem ControlID, ItemIndexToRemove% ##SUB ResetList Erases all list items. @@ -18,9 +18,9 @@ Erases all list items. ##SUB ReplaceItem Replaces the text of the specified item with the new one provided. - ReplaceItem ControlID, ItemToReplace%, "New item" + ReplaceItem ControlID, ItemIndexToReplace%, "New item" ##FUNCTION GetItem Returns an item's contents. - DesiredItem$ = GetItem$(ControlID, ItemToRead%) \ No newline at end of file + DesiredItem$ = GetItem$(ControlID, ItemIndexToRead%) \ No newline at end of file