Variables, Fields and Data Types

The delivery and definition of variables and their contents is performed with the List & Label function LlDefineVariable(Ext)(), the delivery and definition of fields and their contents is performed with the List & Label function LlDefineField(Ext)(). Regarding the names of fields and variables please refer to the section Hints on Table, Variable and Field Names.

List & Label allows the specification of the following variable and field types. As the APIs expect string parameters to be passed, you may need to convert the actual values to strings before passing them to List & Label.

Please note the hints regarding NULL values in section

The following chapter offers various hints for programming with List & Label.

Passing NULL Values

.

HLLJOB hJob = LlJobOpen(CMBTLANG_ENGLISH);
...
LlDefineVariable(hJob, "Firstname", "George");
LlDefineVariable(hJob, "Lastname", "Smith");
LlDefineVariableExt(hJob, "ISBN", "40|15589|97531", LL_­BARCODE_­EAN13, NULL);
LlDefineVariableExt (hJob, "Photo", "c:\\dwg\\test.bmp", LL_­DRAWING, NULL);

...