Euphoria Ticket #410: Automatically define MAIN for the main program file

$ eui hello.ex 

Hello may include 50 files but in hello.ex only, define the word MAIN. That would allow things such as:

-- mycode.e 
public function abc() 
public function def() 
ifdef MAIN then 
    run some sample code 
end ifdef 


Type: Feature Request Severity: Normal Category: Other
Assigned To: unknown Status: New Reported Release: 4199
Fixed in SVN #: View VCS: none Milestone: 4.1.0


Quick Links

User menu

Not signed in.

Misc Menu