Changes for page 09 Lua Editor

Last modified by Nhu Nguyen on 2025/03/09 17:22

From version 6.1
edited by Jim
on 2023/08/11 09:09
Change comment: There is no comment for this version
To version 8.1
edited by Jim
on 2023/08/11 09:10
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -111,10 +111,13 @@
111 111  * **Rising script**: after the button is raised, the code chunk in the area is executed;
112 112  * **Timing script**: periodically execute the code.
113 113  
114 +(% class="box infomessage" %)
115 +(((
114 114  **✎Note: **
115 115  
116 116  * The timing script is not commonly used because it is similar to the screen background script function. It is not recommended to write and call function here. It should be written in Script_Screen.lua, which is convenient for editing, searching, and replacing operations.
117 117  * It is not allowed to write endless loops or call functions that will loop enlessly in the widget. Once used, the entire screen will be stuck, and any buttons will no longer be used. We have to restart the screen to restore.
120 +)))
118 118  
119 119  = **Platform** =
120 120  
... ... @@ -137,7 +137,10 @@
137 137  * **Tens digit=1**: indicates that the function or global variable defined in this file can be used in the background code file (Script_BG.lua). If it is 0, it is not available.
138 138  * **Ones digit=1**: indicates that the functions or global variables defined in this file can be used in the screen code file (Script_Screen.lua) or LuaScript components. If it is 0, it is not available.
139 139  
143 +(% class="box infomessage" %)
144 +(((
140 140  **✎Note: **If you rename the file manually, you must modify the limits in the file accordingly, otherwise the script file will not take effect.
146 +)))
141 141  
142 142  == Built-In script file ==
143 143