|
From: | Kon Lovett |
Subject: | Re: [Chicken-users] A few questions |
Date: | Tue, 29 Jan 2008 10:29:17 -0800 |
On Jan 29, 2008, at 10:24 AM, Alex Queiroz wrote:
Hallo,
<snip>
Is there a way to do something similar in Chicken? Or, in other words, is there a way for Chicken code to tell if it's being run a script, or beingloaded as auxiliary code?Create a MAIN function (the name does not matter). When compiling a stand-alone application, add this to the csc command line: $ csc -postlude (main)
D'oh. Never mind my elaborate response. (Thanks Alex.)
<snip>
Best Wishes, Kon
[Prev in Thread] | Current Thread | [Next in Thread] |