Page 1 of 1

how to use “ io.open”

Posted: Sun Mar 13, 2022 2:25 am
by banzezhishu2022
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!

Re: how to use “ io.open”

Posted: Sun Mar 13, 2022 4:53 am
by michaelm75au
The methods under 'io' are disabled in the Public release of Command.