EntryPoint Statement

Syntax
EntryPoint [module.]name
Group
Project
Description
This project statement indicates where the project starts execution. Only one EntryPoint can be specified for a project. A library project can't have any EntryPoint.
Parameters Description
module Restricts the search to just this module. If omitted all modules are searched.
name Start execution with this subroutine. The subroutine must not have any parameters.

Project Project1
    Optimizer On
    EntryPoint Main
    LoadModule "main.bas"
    LoadModule "module1.bas"
End Project