chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] A few questions


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 being
loaded 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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]