chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] newbie to chicken - Error: unbound variable: export


From: Peter Bex
Subject: Re: [Chicken-users] newbie to chicken - Error: unbound variable: export
Date: Tue, 9 Dec 2008 09:14:23 +0100
User-agent: Mutt/1.4.2.3i

On Tue, Dec 09, 2008 at 08:32:51AM +0100, Basile STARYNKEVITCH wrote:
> Hello All,
> 

Hi there,

> So far I just coded
> 

<lots of code elided>

> (export compile-file)

The problem is that export is only recognised inside a (declare) form,
which itself only works in compiled code.
See http://chicken.wiki.br/Declarations for more info on declarations.
There's also a bit about unit declarations in
http://chicken.wiki.br/Using%20the%20compiler

Hope this helps!

Cheers,
Peter
-- 
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                                                        -- Donald Knuth

Attachment: pgpz5aA4XOBzb.pgp
Description: PGP signature


reply via email to

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