I am trying to switch scenes from main.lua to menu.lua and you can guess why . This is my code .this is the error
I am getting.
CODE:
local storyboard = require( "storyboard" ) local widget = require( "widget" ) -- Load Corona 'ads' library local ads = require "ads" -- Hide the status bar display.setStatusBar( display.HiddenStatusBar ) -- The name of the ad provider. local provider = "admob" -- Your application ID local appID = "Bouncy balls" [lua=auto:0] storyboard.gotoScene( "menu" ) [lua=auto:0]
error:
main.lua:17:unexpected symbol near ‘[’
what is the problem here. what is my code corrected why am I getting this error when no symbol is near ‘[’ !
Thank you,