Guides

From Progzoo
Revision as of 17:34, 9 January 2008 by Andr3w (talk | contribs) (Top Ten Tips)
Jump to: navigation, search

Guides to common programming tasks.

Top Ten Tips

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; Read From a Database; Read XML; Define a Class

Basics

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.

Control structures

while, for, foreach, if, return, break and other constructs

Tests

different ways to test conditions

In-built function

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

Graphic User Interface

Buttons, text boxes that users can see and control.

Programming techniques

Using an accumulator, recursion, function composition.