Changes for page 05 Lua Script
Last modified by Devin Chen on 2025/03/04 14:07
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 1 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -531,5 +531,9 @@ 531 531 532 532 The core code is from file readcsv.lua, and file path is set as Sheet_2023_06_13_15_29_45.csv at the root path for USB. 533 533 534 +1) The reading content is a two-dimensional table, can use the table index to lacate the specify data cell; 535 + 536 +2) Remember to change csv separator in the second parameter from function csv_csvToTable according to user's need, this demo is using **semicolon** as separator; 537 + 534 534 (% style="text-align:center" %) 535 -[[image: luacsvfilereadcontent.png]]539 +[[image:CSVreadwithsemicolon.png]]
- CSVreadwithsemicolon.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Hunter - Size
-
... ... @@ -1,0 +1,1 @@ 1 +51.3 KB - Content