User Tools

Site Tools


4rpl:commands:gettableelement

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
4rpl:commands:gettableelement [2021/01/24 19:59] – added get/set tabs Sanian4rpl:commands:gettableelement [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
-<=[[4rpl:start| Index]]+<=[[4rpl:start| Index]] \\ 
 +<=[[4rpl:start#tables| Tables]]
  
 <WRAP tabs> <WRAP tabs>
Line 13: Line 14:
 Retrieves an element from a table and pushes it to the stack. Note that keys are case sensitive strings. Retrieves an element from a table and pushes it to the stack. Note that keys are case sensitive strings.
 A special syntax can also be used to retrieve a table element. See the example below. A special syntax can also be used to retrieve a table element. See the example below.
 +
 +If the specified element (key) does not exists in the table, the return value will have a type of NULL and can be tested with the [[GetType]] command.
  
  ===== Examples =====  ===== Examples =====
4rpl/commands/gettableelement.1611518349.txt.gz · Last modified: 2025/02/14 14:56 (external edit)