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

From Citizendium
Jump to navigation Jump to search
imported>Eric Evers
(New page: ===Macros=== -define(LIKERT_SCALE, lists:seq(1, 5)). A = LIKERT_SCALE.)
 
imported>Tom Morris
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{subpages}}
===Macros===
===Macros===


Line 4: Line 6:


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

Latest revision as of 06:07, 8 August 2009


Macros

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

A = LIKERT_SCALE.

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