can i program into several files not only main.lua

I read document and several sample code , find every project only has one main program file “main.lua”, when the project is very large , main.lua will become very large, how do i split main.lua to different files ?
for example, my game will be divided into many different scenes, i want every scene programe code into a different file, finally, main.lua include all scene code file.
help me, thanks ! [import]uid: 27819 topic_id: 5513 reply_id: 305513[/import]

That’s what the require() command is for, look that up in the docs.

Here’s an example:
http://developer.anscamobile.com/forum/2010/12/31/object-oriented-sample-game-framework-corona [import]uid: 12108 topic_id: 5513 reply_id: 18732[/import]