Changes for page 09 Lua Editor
Last modified by Nhu Nguyen on 2025/03/09 17:22
Summary
-
Page properties (1 modified, 0 added, 0 removed)
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