Hi,
I’m new to this forum, so I apologize in advance if something is wrong.
I have a problem with a certain part of the code:
local timer = require( "timer" ) local composer = require( "composer" ) local Listener = composer.gotoScene( "list" ) timer.performWithDelay(2000, Listener )
I have no idea where the error is.
List.lua file exists.
As you can see I join composer, timer …
In theory it should work.
I created it with the Listener function, but the effect was the same.
This is a error:
list.lua:19: ERROR: table expected. If this is a function call, you might have used ‘.’ instead of ':'
stack traceback:
[C]: in function ‘error’
?: in function ‘gotoScene’
main.lua:68: in main chunk
I would be grateful for your help.
P.S.
My english can be … difficult to understand. Very sorry for it.