Difference between revisions of "LlLinksetDataListKeys"

From Second Life Wiki
Jump to navigation Jump to search
m
m (added text re: ordering and re: count - start exceeding total keys)
 
Line 5: Line 5:
|p2_type=integer|p2_name=count|p2_desc=The number of keys to return.
|p2_type=integer|p2_name=count|p2_desc=The number of keys to return.
|return_type=list
|return_type=list
|return_text=of the keys in the datastore.
|return_text=of the keys in the datastore, ordered alphabetically.
|func_footnote
|func_footnote
|func_desc=The '''llLinksetDataListKeys''' function returns a list of up to {{LSLP|count}} keys in the datastore, starting at the one indicated by {{LSLP|start}}. If {{LSLP|count}} is less than 1, then all keys between {{LSLP|start}} and the end are returned.  
|func_desc=The '''llLinksetDataListKeys''' function returns a list of up to {{LSLP|count}} keys in the datastore, starting at the one indicated by {{LSLP|start}}. If {{LSLP|count}} is less than 1, then all keys between {{LSLP|start}} and the end are returned. If {{LSLP|count}} minus {{LSLP|start}} exceeds the total number of keys, the returned list will be shorter than {{LSLP|count}}, down to a zero-length list if {{LSLP|start}} equals or exceeds the total number of keys.
|func_footnote
|func_footnote
|spec
|spec

Latest revision as of 22:31, 14 January 2023

Summary

Function: list llLinksetDataListKeys( integer start, integer count );

The llLinksetDataListKeys function returns a list of up to count keys in the datastore, starting at the one indicated by start. If count is less than 1, then all keys between start and the end are returned. If count minus start exceeds the total number of keys, the returned list will be shorter than count, down to a zero-length list if start equals or exceeds the total number of keys.
Returns a list of the keys in the datastore, ordered alphabetically.

• integer start The first key to return.
• integer count The number of keys to return.

Examples

Deep Notes

Search JIRA for related Issues

Signature

function list llLinksetDataListKeys( integer start, integer count );