getting-started-with-functions/quickref.tex
author anand
Mon, 15 Nov 2010 15:23:28 +0530
changeset 510 06561ee0f6a4
parent 449 471e1e5844a1
permissions -rw-r--r--
checklist OK for `writing python scripts`
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]|}