NXSL:map

Revision as of 17:19, 19 September 2014 by Pavels Gurskis (talk | contribs) (Created page with "__NOTOC__ Returns the value which corresponds to a specified key from specified Mapping Table == Syntax == map(''"tableName"'', ''"keyName"''); == Parameters == :{| |- |...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Returns the value which corresponds to a specified key from specified Mapping Table


Syntax

map("tableName", "keyName");


Parameters

tableName name of Mapping Table.
keyName name of the Key.

Return Value

Value corresponding for a keyName from tableName.

Examples

MyTable:

| MyKey1 | MyValue1 |
| MyKey2 | MyValue2 |
map("MyTable", "MyKey1")		->	returns "MyValue1"