Difference between revisions of "Guides"

From Progzoo
Jump to: navigation, search
(Basics)
Line 16: Line 16:
 
different ways to test conditions
 
different ways to test conditions
 
==In-built function==
 
==In-built function==
 +
{{String Functions}}
 
functions provided by the core language. String and number functions primarily.
 
functions provided by the core language. String and number functions primarily.
 
==Input and output==
 
==Input and output==

Revision as of 15:04, 13 January 2008

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.