IupLoad

IUP - Portable User Interface

IupLoad

Compiles a LED specification.

Parameters/Return

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

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.

Note

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.