getting-started-with-functions/quickref.tex
author Amit Sethi
Thu, 11 Nov 2010 23:40:39 +0530
changeset 485 fd3902300f20
parent 449 471e1e5844a1
permissions -rw-r--r--
Adding plotting data quickref
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
449
471e1e5844a1 Added quickref to getting started with functions.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff changeset
     1
Defining a function:\\
471e1e5844a1 Added quickref to getting started with functions.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff changeset
     2
{\ex \lstinline|    def name([arguments]):|}
471e1e5844a1 Added quickref to getting started with functions.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff changeset
     3
{\ex \lstinline|        code|}
471e1e5844a1 Added quickref to getting started with functions.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff changeset
     4
{\ex \lstinline|        [return values]|}