Put a string value into a table.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | val | Value to set in the table. |
||
type(flu_State) | :: | L | Handle to the Lua script. |
|||
integer, | intent(in) | :: | thandle | Handle to the table to look the value up in. |
||
character(len=*), | intent(in), | optional | :: | key | Name of the entry to set. Key and pos are both optional, however at least one of them has to be supplied. The key takes precedence over the pos if both are given. |
|
integer, | intent(in), | optional | :: | pos | Position of the entry to set in the table. It allows the access to unnamed arrays in the Lua tables. |