Start from a main routine: Difference between revisions

m
-Java, change "jiggerypokery" to something more country-neutral (we're not all crazy Brits)
(Data driven or event driven languages)
m (-Java, change "jiggerypokery" to something more country-neutral (we're not all crazy Brits))
Line 1:
{{draft task}}Some languages (like gambasGambas and visualVisual basicBasic) support two startup modes. Applications written in these languages start with an open window that waits for events, and it is necessary to do some jiggerypokerytrickery to cause a main procedure to run instead. Data driven or event driven languages may also require similar trickery to force a startup procedure to run.
 
The task is to demonstrate the steps involved in causing the application to run a main procedure, rather than an event driven window at startup.
Line 16:
=={{header|Gambas}}==
 
In gambasGambas, to make an application startup from a main routine:
 
* Create a new module called MMain
Line 74:
{{omit from|C}}
{{omit from|C++}}
{{omit from|Java|Uses a main method}}
{{omit from|Dc|Scripts start running from the top}}
{{omit from|GUISS|Scripts read from top down}}
Anonymous user