Changes for page 01 Lua Functions
Last modified by Theodore Xu on 2023/10/26 10:51
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,4 +1,4 @@ 1 -= **1 Interface Description** =1 += **1 Interface description** = 2 2 3 3 == **Data type definition** == 4 4 ... ... @@ -92,7 +92,7 @@ 92 92 1. From the print result, the first line and the second line are successfully called and returns true; the third line fails the call, the error message is translated as: the bar student has been registered, and there is indeed an error in the code. 93 93 1. The fourth line of code uses two variables to receive the return value. The call failed, the first variable stat is nil, and the second variable err stores the error message. Then print it out using print, which is the output of the third line. This example shows how to capture and view the error message. 94 94 95 -== **Modification of the PrintFunction** ==95 +== **Modification of print function** == 96 96 97 97 For the convenience of remote development, the print data is sent to the front end (web page) by means of network transmission, and the user can see the result of the debug output, because it consumes certain data and occupies the bandwidth of the server (or occupies server resources). So the following restrictions are made. 98 98 ... ... @@ -105,7 +105,7 @@ 105 105 In addition, please refer to the front-end documentation for how to use view debugging. 106 106 107 107 ((( 108 -= **2 Address Operation** =108 += **2 Address operation** = 109 109 110 110 111 111 )))