Goetz Geschrieben 13. August 2019 Teilen Geschrieben 13. August 2019 (bearbeitet) vor 2 Stunden schrieb ademes: how to define a table in Lua that is available to all events? Use the main script. In the event manager, click the + sign and instead of adding an event or a modul, add a script. You can have one main script per layout and that may hold your table and other constants. And no, a table cannot be an object variable. Not yet, anyway. But Neo is considering this option. Bearbeitet 13. August 2019 von Goetz Link zu diesem Kommentar Auf anderen Seiten teilen More sharing options...
Neo Geschrieben 13. August 2019 Teilen Geschrieben 13. August 2019 Hi, vor 3 Stunden schrieb Goetz: You can have one main script per layout and that may hold your table and other constants. to avoid misunderstandings, you can have a "main script" per module. All scripts of all modules are finally merged together, so that a (sub)module can declare own global functions and constants. Kind regards, Neo Link zu diesem Kommentar Auf anderen Seiten teilen More sharing options...
ademes Geschrieben 13. August 2019 Teilen Geschrieben 13. August 2019 Hi Goetz and Neo, Thank you for explanation. I'll try this soon. André Link zu diesem Kommentar Auf anderen Seiten teilen More sharing options...
Empfohlene Beiträge
Erstelle ein Benutzerkonto oder melde dich an, um zu kommentieren
Du musst ein Benutzerkonto besitzen, um einen Kommentar verfassen zu können
Benutzerkonto erstellen
Neues Benutzerkonto für unsere Community erstellen.
Neues Benutzerkonto erstellenAnmelden
Du hast bereits ein Benutzerkonto? Melde dich hier an.
Jetzt anmelden