-
-
Notifications
You must be signed in to change notification settings - Fork 9
pragma entry_point
IsaacShelton edited this page Mar 21, 2022
·
1 revision
pragma entry_point
is a pragma directive that can be used to set the entry point of the program
pragma entry_point myEntryFunction
pragma entry_point
must be used before any function declarations.
pragma entry_point myEntryPoint
import "basics.adept"
func myEntryPoint {
print("Hello World!")
}
See --entry
in command-line usage for compiler argument