> On Jul 5, 2019, at 4:23 AM, Amir Teymuri <ateymur...@gmail.com> wrote:
> 
> Can someone explain what the difference between define and
> define-constant? I read the docs
> https://wiki.call-cc.org/man/5/Module%20(chicken%20base)#define-constant
> but i can't understand what its trying to say. Does define-constant
> defines constants when the program is compiled?

yes, define-constant is compile time only, & the defined name of the constant 
cannot be exported.

the interpreter treats define-constant as define.

when starting out w/ CHICKEN might be best to eschew define-constant & 
define-inline in favor of define

> 
> Many Thanks,
> 
> _______________________________________________
> Chicken-users mailing list
> Chicken-users@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/chicken-users


_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to