欢迎图片

Changes for page Lua Script

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

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

Summary

Details

Page properties
Content
... ... @@ -659,20 +659,8 @@
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
663 663  
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
669 669  
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 -
676 676  Return:
677 677  
678 678  * Success: true
... ... @@ -682,7 +682,7 @@
682 682  
683 683  {{code language="Lua"}}
684 684  local str = "Hello"
685 -we_bas_setstring("@W_HDW0", str, 10, 0, 0, 0, 0)
673 +we_bas_setstring("@W_HDW0", str)
686 686  {{/code}}
687 687  
688 688  == [[we_bas_bmov>>||anchor="HAddressclass"]] ==