[erlang-questions] escript and define

Pierpaolo Bernardi olopierpa@REDACTED
Wed Sep 19 22:17:41 CEST 2007


On 9/19/07, Stefan Strigler <steve@REDACTED> wrote:
> Hi there,
>
> is there a way to define constants in escript? I've tried with
>
> #!/usr/bin/env escript
>
> -define(FOO, "hello world").

Why not:

foo() -> "hello world".

P.



More information about the erlang-questions mailing list