IupLoad

IUP - Portable User Interface

IupLoad

Compiles a LED specification.

Parameters/Return

char *IupLoad(char *name_file); [in C]
iup.Load(name_file: string) -> error: string [in Lua]

name_file: name of the file containing the LED specification.

This function returns NULL (nil in Lua) if the file was successfully compiled; otherwise it returns a pointer to a string containing the error message.

Notes

Each time the function loads a LED file, the elements contained in it are created. Therefore, the same LED file cannot be loaded several times, otherwise the elements will also be created several times. The same applies for running Lua files several times.