欢迎图片

Changes for page Lua Script

Last modified by Devin Chen on 2025/11/10 16:04

From version 5.3
edited by xingzhi lin
on 2025/10/31 09:58
Change comment: There is no comment for this version
To version 6.2
edited by xingzhi lin
on 2025/10/31 10:41
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -659,8 +659,20 @@
659 659  |(% style="width:203px" %)11|(% style="width:967px" %)Characters are stored in one word
660 660  |(% style="width:203px" %)12|(% style="width:967px" %)Unicode text
661 661  
662 +* element5:element
662 662  
664 +|=(% style="width: 203px;" %)Value|=(% style="width: 967px;" %)Describe
665 +|(% style="width:203px" %)0|(% style="width:967px" %)Default
666 +|(% style="width:203px" %)4|(% style="width:967px" %)Gbk text, normal setting
667 +|(% style="width:203px" %)5|(% style="width:967px" %)Gbk text, the first byte is the string length
668 +|(% style="width:203px" %)12|(% style="width:967px" %)Unicode text
663 663  
670 +* element6:element
671 +
672 +|=(% style="width: 203px;" %)Value|=(% style="width: 967px;" %)Describe
673 +|(% style="width:203px" %)0|(% style="width:967px" %)Default
674 +|(% style="width:203px" %)11|(% style="width:967px" %)Characters are stored in one word
675 +
664 664  Return:
665 665  
666 666  * Success: true
... ... @@ -670,7 +670,7 @@
670 670  
671 671  {{code language="Lua"}}
672 672  local str = "Hello"
673 -we_bas_setstring("@W_HDW0", str)
685 +we_bas_setstring("@W_HDW0", str, 10, 0, 0, 0, 0)
674 674  {{/code}}
675 675  
676 676  == [[we_bas_bmov>>||anchor="HAddressclass"]] ==
... ... @@ -7831,6 +7831,23 @@
7831 7831  |crc16_arc|0x8005|0x0000|0x0000|true|true|123456789|0xBB3D
7832 7832  |crc32|0x04C11DB7|0xFFFFFFF|0xFFFFFFF|true|true|123456789|0xCBF43926
7833 7833  
7846 += LuaUserSecure =
7847 +
7848 +== user_secure.usersecure_getInfo ==
7849 +
7850 +== user_secure.usersecure_addInfo ==
7851 +
7852 +== user_secure.usersecure_deleteInfo ==
7853 +
7854 +== user_secure.usersecure_login ==
7855 +
7856 +== user_secure.usersecure_logout ==
7857 +
7858 +== user_secure.usersecure_updatepwd ==
7859 +
7860 += LuaChart =
7861 +
7862 +
7834 7834  = Environment operation =
7835 7835  
7836 7836  (% class="wikigeneratedid" id="HGetsqliteenvironment" %)