This subroutine takes a one dimensional array, and puts it as a table into the Lua context.
The returned thandle provides the index to access this newly created table.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(flu_State) | :: | L | ||||
integer, | intent(out) | :: | thandle | Handle to access the newly created table. |
||
real(kind=xdble_k), | intent(in) | :: | val(:) | Values to put into the new table. |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private | :: | tab | ||||
integer, | private | :: | nvals | ||||
integer, | private | :: | i | ||||
real(kind=double_k), | private, | allocatable | :: | locval(:) |