Difference between revisions of "Guides"

From Progzoo
Jump to: navigation, search
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Guides to common programming tasks.
+
{{topTenTips}}{{String Functions}}{{Simple Tests}}{{Graphics}}
[[Hello World]]; [[Count 0 to 9]]; [[Read a Text File]]; [[Sum an Array]]; [[Convert a String to a Number]]; [[Use a Hash Table]]; [[Regular Expression]];
+
{{Database}}
==Top Ten Tips==
+
[[Read XML]]; [[Define a Class]]
{{topTenTips}}
 
 
 
{{String Functions}}
 
[[Read From a Database]]; [[Read XML]]; [[Define a Class]]
 
 
 
==String Functions==
 
  
 
==Basics==
 
==Basics==
Line 15: Line 9:
 
==Data Types==
 
==Data Types==
 
Creating variables of different types. Converting between variable types. Using 3rd party libraries. Creating your own data types. Arrays, hash tables and dates.
 
Creating variables of different types. Converting between variable types. Using 3rd party libraries. Creating your own data types. Arrays, hash tables and dates.
 +
*[[HashMap]] is a collection - you can reference a value using a key. The keys are often strings.
 +
*[[ArrayList]] is like a normal array but it can grow and shrink.
 +
 
==Control structures==
 
==Control structures==
 
while, for, foreach, if, return, break and other constructs
 
while, for, foreach, if, return, break and other constructs
==Tests==
+
 
different ways to test conditions
 
==In-built function==
 
{{String Functions}}
 
functions provided by the core language. String and number functions primarily.
 
==Input and output==
 
options for reading and writing data to files and to databases network access.
 
==Graphics==
 
*[[Drawing Rectangles]]
 
*[[Drawing Lines]]:
 
*[[Drawing Text]]; [[Use Transport Font]]
 
*[[Smoothing]]:
 
*[[Polygons]]:
 
==Graphic User Interface==
 
Buttons, text boxes that users can see and control.
 
 
==Programming techniques==
 
==Programming techniques==
 
[[Using an accumulator]], recursion, function composition.
 
[[Using an accumulator]], recursion, function composition.

Latest revision as of 22:21, 4 January 2010