getting-started-with-functions/quickref.tex
author anand
Mon, 15 Nov 2010 15:49:26 +0530
changeset 514 ca9d084d0c87
parent 449 471e1e5844a1
permissions -rw-r--r--
checklist ok for `getting started with strings`
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]|}