[erlang-questions] Reason for "format string not a textual constant"
Mon Oct 16 14:00:56 CEST 2006
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!
Post sent from http://www.trapexit.org
More information about the erlang-questions