how to use “ io.open”
Posted: Sun Mar 13, 2022 2:25 am
hi, i want to input data,like this:
local file=io.open("C:\\data.csv","r+")
but lua console show:
ERROR: [string "Console"]:2: attempt to index a nil value (global 'io')
why? and any assistance would be welcome!
local file=io.open("C:\\data.csv","r+")
but lua console show:
ERROR: [string "Console"]:2: attempt to index a nil value (global 'io')
why? and any assistance would be welcome!