Compiler Option: -entry
Main file without extension to indicate the main module
Syntax
`
-entry < source file >
`
Parameters
`source file`
The name without extension of the main module source file
Description
The `-entry` compiler option specifies a main entry point for a source file; the argument is the name of a source file minus its extension. If "-m" or "-entry" is not specified, the first source file listed is given a main entry point. When using the "-c" switch, "-m" or "-entry" must be specified when compiling a main source file. Same as "-m" compiler option.
The intrinsic macro `__FB_MAIN__` is defined in the main module and not defined in other modules.
See also

- `__FB_MAIN__`
- Compiler Option: -c
- Compiler Option: -m
- Using the Command Line