[erlang-questions] Reason for "format string not a textual constant"
Mon Oct 16 21:00:44 CEST 2006
Ah, so it's a warning that it can't give warnings. That makes a quite
a bit of sense, though the warning itself could be worded better.
On 10/16/06, xpdoka <> wrote:
> Hi Eric,
> When io:format's first argument (the format string) is a constant string, the compiler can check it and issue a warning if the string is invalid, or has the wrong number of control sequences compared to the number of elements in the second argument. When the format string is not a constant, the compiler can warn you that it is unable to give you those previews warnings!
> Dominic Williams
> Post sent from http://www.trapexit.org
> erlang-questions mailing list
More information about the erlang-questions