<< SL_SetWindowAttrA | SL_DisableMenu >> |
Top: Documentation Library | Up: SoftLogik App Library API |
SL_AddNodeSorted
NAME
SL_AddNodeSorted -- adds a node into a sorted list.
SYNOPSIS
pos = SL_AddNodeSorted(list, node, order, casesensitive);
D0 A0 A1 D0 D1
ULONG SL_AddNodeSorted(LISTHANDLE, void *, UWORD, SLFLAG);
FUNCTION
Adds a node into a list that is sorted by name.
INPUTS
list - a LISTHANDLE as returned by SL_CreateListA.
node - the node to add to the sorted list.
order - SORT_ASCENDING or SORT_DESCENDING. This describes how the
list is sorted, so the new node can be added at the correct
location.
casesensitive - TRUE if the sort is casesensitive, FALSE if it is not
casesensitive.
RESULTS
pos - the position of the new node. 0 indicates the start of the list.
SEE ALSO
SL_AddNodeAfter, SL_AddNodeBefore, SL_AddNodeHead, SL_AddNodeSorted, SL_AddNodeSortedFunc, SL_AddNodeTail, SL_ClearList, SL_CountNodes, SL_CreateListA, SL_CreateNodeA, SL_FindNodeFunc, SL_FindNodeName, SL_FindNodePos, SL_FindNodeUserData, SL_FirstNode, SL_FreeList, SL_FreeNode, SL_GetListAttr, SL_GetNodeAttr, SL_IsListEmpty, SL_LastNode, SL_NextNode, SL_PrevNode, SL_RemoveNode, SL_RemoveNodeHead, SL_RemoveNodeTail, SL_SetListAttrA, SL_SetNodeAttrA, SL_SortList, SL_SortListField, SL_SortListFieldRange, SL_SortListFunc, SL_SortListFuncRange, SL_SortListRange.
SL_AddNodeSorted Command Section By Type url:SL_AddNodeSorted
created:2008-03-01 23:36:28 last updated:2008-03-01 23:36:28
Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.
User Contributed Comments For SL_AddNodeSorted | sign in to add a comment |
There are no user contributed comments for this page. |
<< SL_SetWindowAttrA | SL_DisableMenu >> |
Top: Documentation Library | Up: SoftLogik App Library API |