Set a value in a table.
The given value will be put at the entry named by key into the table provided in thandle. Alternatively you can also put the value by position into the table by providing the pos argument. If both, pos and key are provided, the key will be used. Though, both of them are optional, at least one of them has to be provided.
Put a extdouble precision real value into a table.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=xdble_k), | intent(in) | :: | val |
Value of the table entry if it exists. |
||
type(flu_State) | :: | L | ||||
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 look for. |
|
integer, | intent(in), | optional | :: | pos |
Position of the entry to look for in the table. |