getting-started-with-functions/quickref.tex
author anand
Mon, 15 Nov 2010 15:38:44 +0530
changeset 512 b378844641fd
parent 449 471e1e5844a1
permissions -rw-r--r--
checklist not ok; 1 short answer question and 2 long answer questions need to be added.
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]|}