Erlang (programming language)/Tutorials/Macros: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Eric Evers
imported>Chris Day
No edit summary
Line 1: Line 1:
{{subpages}}
===Macros===
===Macros===



Revision as of 12:27, 22 April 2008


Macros

-define(LIKERT_SCALE, lists:seq(1, 5)).

A = LIKERT_SCALE.

sets: A = [1,2,3,4,5].