getting-started-with-functions/quickref.tex
author anand
Thu, 11 Nov 2010 00:03:57 +0530
changeset 472 fcdec2d28c9a
parent 449 471e1e5844a1
permissions -rw-r--r--
Checklist OK for `The other kinds of plots`
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]|}