Transferring variables and fields follows the regular List & Label principle. There are three "API variations" available for the registration.
API |
Description |
LlDefineVariable |
Defines a variable of the type LL_TEXT and its content. |
LlDefineVariableExt |
As described above; additionally can be transferred along with the List & Label data type. |
LlDefineVariableExtHandle |
As described above, except that the content must now be a handle. |
One example in which a "text" type variable is registered looks like this:
LL.LlDefineVariableExt("MyVariable", "Content", LL_TEXT)
You can find the constants for the List & Label data types in the cmll29.bas (VB) unit located in your List & Label installation directory.