tablemap

lpmoo-1.2/doc/builtins/tablemap · 507 B

From the archive lpmoo-1.2.tar.gz

Download the archive   « Back to the archive contents

NAME
	tablemap - return a mapping of elements from two lists

SYNOPSIS
	table tablemap(list, list)

DESCRIPTION
	A table is created by pairing each element from the first
	argument list with the same positional element from the second
	argument list, and this table is returned. The two lists must
	both be of the same length.

	If any values are repeated in the first list, only the pair
	created by the value with the lowest index in the list will
	appear in the resulting table.

SEE ALSO
	tableinsert

Site Stats

Snippets: 1791
Codebases: 571