Differences between revisions 2 and 21 (spanning 19 versions)
Revision 2 as of 2007-03-11 13:03:31
Size: 786
Comment:
Revision 21 as of 2017-02-16 19:39:26
Size: 1187
Editor: KaiJaeger
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
== Basic Examples ==
Line 5: Line 4:
[:Studio/SimpleExamples:Simple Examples] of APL in action == Beginners ==
Line 7: Line 6:
What you type in an APL session is indented with six spaces.
{{{
      ⎕←'Hello World!'
Hello World!
      ⍳5
1 2 3 4 5
      20+⍳5
21 22 23 24 25
      2 3 4 + 100 500 200
102 503 204
      2 3 4 × 100 500 200
200 1500 800
      (⍳3)∘.+⍳3 ⍝ addition table
2 3 4
3 4 5
4 5 6
      (⍳3)∘.×⍳3 ⍝ multiplication table
1 2 3
2 4 6
3 6 9
      ∘.×⍨⍳3 ⍝ reflex operator (Dyalog) uses right argument on left
1 2 3
2 4 6
3 6 9
      ∘.=⍨⍳3 ⍝ identity matrix
1 0 0
0 1 0
0 0 1
      im←∘.=⍨∘⍳ ⍝ define a function (Dyalog)
      im 5 ⍝ use it
1 0 0 0 0
0 1 0 0 0
0 0 1 0 0
0 0 0 1 0
0 0 0 0 1
      
}}}
[[Studio/SimpleExamples|Simple Examples]] of APL in action

[[Studio/FunWithFunctions|Fun with functions]]


== Easy Examples ==

[[Studio/LetterDiamonds | More Fun than other Languages!]] See how APL trounces other computer languages in a simple programming challenge.
 
[[Studio/GrilleCyphers| Fun with Grille cyphers]] A 500-year old way of sending secret messages.

[[Studio/SecretMessages| Fun with Photos]] A more modern way of hiding secret messages in pictures.

[[Studio/FunWithText| Fun with Text]] Did Shakespeare write the Bible? An example of reading text files.

[[Studio/GameOfLifeAnimation|Animating Conway's Game of Life]] A simple example of creating pictures in APLX (discontinued in 2016)


== Intermediate and Advanced ==

[[Studio/FunWithWordSearch| Fun with Word Search]] All the fun you can have in a small English village?

[[Studio/EncodeDecodeDates| Fun with dates]] Handling dates in APL, including examples of using .NET

[[Studio/HtmlWithClasses| Fun with HTML and CSS]] Using APL to generate a web page

[[Studio/ConvexHull| Convex Hull Algorithm]] An example of creating a geometric algorithm

Studio

Beginners

Simple Examples of APL in action

Fun with functions

Easy Examples

More Fun than other Languages! See how APL trounces other computer languages in a simple programming challenge.

Fun with Grille cyphers A 500-year old way of sending secret messages.

Fun with Photos A more modern way of hiding secret messages in pictures.

Fun with Text Did Shakespeare write the Bible? An example of reading text files.

Animating Conway's Game of Life A simple example of creating pictures in APLX (discontinued in 2016)

Intermediate and Advanced

Fun with Word Search All the fun you can have in a small English village?

Fun with dates Handling dates in APL, including examples of using .NET

Fun with HTML and CSS Using APL to generate a web page

Convex Hull Algorithm An example of creating a geometric algorithm

Studio (last edited 2017-02-16 19:39:26 by KaiJaeger)