Use these routines to obtain a vector of known length.
The given vector has to exist already and will be filled by values from the Lua table, as far as they exist. If the Lua table is longer than the available elements in the array only the first elements from the table will be stored in the array.
This routine obtains a vectorial quantity with fixed length from a Lua table as a whole.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=single_k), | intent(out) | :: | val(:) |
Vector read from the Lua table. |
||
integer, | intent(out) | :: | ErrCode(:) |
Error code describing problems encountered in each of the components. This array has to have the same length as val. |
||
type(flu_State) | :: | L |
Handle to the lua script |
|||
integer, | intent(in), | optional | :: | thandle |
Handle of the parent table |
|
character(len=*), | intent(in), | optional | :: | key |
Name of the variable (vector) to read. |
|
integer, | intent(in), | optional | :: | pos |
Position of the (vector) to read. |
|
real(kind=single_k), | intent(in), | optional | :: | default(:) |
A default vector to use, if no proper definition is found. Components will be filled with the help of this default definition. |
This routine obtains a vectorial quantity with fixed length from a Lua table as a whole.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=double_k), | intent(out) | :: | val(:) |
Vector read from the Lua table. |
||
integer, | intent(out) | :: | ErrCode(:) |
Error code describing problems encountered in each of the components. This array has to have the same length as val. |
||
type(flu_State) | :: | L |
Handle to the lua script |
|||
integer, | intent(in), | optional | :: | thandle |
Handle of the parent table |
|
character(len=*), | intent(in), | optional | :: | key |
Name of the variable (vector) to read. |
|
integer, | intent(in), | optional | :: | pos |
Position of the (vector) to read. |
|
real(kind=double_k), | intent(in), | optional | :: | default(:) |
A default vector to use, if no proper definition is found. Components will be filled with the help of this default definition. |
This routine obtains a vectorial quantity with fixed length from a Lua table as a whole.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int_k), | intent(out) | :: | val(:) |
Vector read from the Lua table. |
||
integer, | intent(out) | :: | ErrCode(:) |
Error code describing problems encountered in each of the components. This array has to have the same length as val. |
||
type(flu_State) | :: | L |
Handle to the lua script |
|||
integer, | intent(in), | optional | :: | thandle |
Handle of the parent table |
|
character(len=*), | intent(in), | optional | :: | key |
Name of the variable (vector) to read. |
|
integer, | intent(in), | optional | :: | pos |
Position of the (vector) to read. |
|
integer(kind=int_k), | intent(in), | optional | :: | default(:) |
A default vector to use, if no proper definition is found. Components will be filled with the help of this default definition. |
This routine obtains a vectorial quantity with fixed length from a Lua table as a whole.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=long_k), | intent(out) | :: | val(:) |
Vector read from the Lua table. |
||
integer, | intent(out) | :: | ErrCode(:) |
Error code describing problems encountered in each of the components. This array has to have the same length as val. |
||
type(flu_State) | :: | L |
Handle to the lua script |
|||
integer, | intent(in), | optional | :: | thandle |
Handle of the parent table |
|
character(len=*), | intent(in), | optional | :: | key |
Name of the variable (vector) to read. |
|
integer, | intent(in), | optional | :: | pos |
Position of the (vector) to read. |
|
integer(kind=long_k), | intent(in), | optional | :: | default(:) |
A default vector to use, if no proper definition is found. Components will be filled with the help of this default definition. |
This routine obtains a vectorial quantity with fixed length from a Lua table as a whole.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
logical, | intent(out) | :: | val(:) |
Vector read from the Lua table. |
||
integer, | intent(out) | :: | ErrCode(:) |
Error code describing problems encountered in each of the components. This array has to have the same length as val. |
||
type(flu_State) | :: | L |
Handle to the lua script |
|||
integer, | intent(in), | optional | :: | thandle |
Handle of the parent table |
|
character(len=*), | intent(in), | optional | :: | key |
Name of the variable (vector) to read. |
|
integer, | intent(in), | optional | :: | pos |
Position of the (vector) to read. |
|
logical, | intent(in), | optional | :: | default(:) |
A default vector to use, if no proper definition is found. Components will be filled with the help of this default definition. |
This routine obtains a vectorial quantity with fixed length from a Lua table as a whole.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(out) | :: | val(:) |
Vector read from the Lua table. |
||
integer, | intent(out) | :: | ErrCode(:) |
Error code describing problems encountered in each of the components. This array has to have the same length as val. |
||
type(flu_State) | :: | L |
Handle to the lua script |
|||
integer, | intent(in), | optional | :: | thandle |
Handle of the parent table |
|
character(len=*), | intent(in), | optional | :: | key |
Name of the variable (vector) to read. |
|
integer, | intent(in), | optional | :: | pos |
Position of the (vector) to read. |
|
character(len=*), | intent(in), | optional | :: | default(:) |
A default vector to use, if no proper definition is found. Components will be filled with the help of this default definition. |