Hello Collection of AlgolW Programs

One HelloWorld program is not enough! Here is the collection of programs, which demonstrate some of basic Algol W elements.

1_adam.alw Empty program (begin and end only)

1_comment.alw Empty program with comment

1_comment1.alw program with comment @

1_comment2.alw program with comment % %

1_eva.alw line of text printing

1_noblock.alw absence of blocks in a program

2_adamar.alw integer variable declaration and assignment

2_outinteger.alw print of integer variable value

2_ininteger.alw reading of integer variable

2_array.alw integer array declaration and using

2_intwriteon.alw

2_intreadon.alw

2_intwriteformat.alw

2_bits.alw

2_bitswrite.alw

2_bitsread.alw

2_bitsread.alw

3_outreal.alw declaration and printing of real variable

3_inreal.alw reading of real variable

3_boolean.alw introduction of boolean data type

3_assert.alw

3_longrealwrite.alw

3_longrealread.alw

3_longrealmultdiv.alw

3_fractionpart.alw

3_complexwrite.alw

3_complexread.alw

3_complexmultdiv.alw

4_goto.alw goto operator: demonstration of infinite loop

4_if.alw demonstration of if operator

4_for.alw demonstration of for operator

4_for2.alw another type of for operator

4_while.alw while can be used only together with for

4_controlvar.alw

4_switch.alw

4_case.alw

5_twoBlocks.alw main block and sub-block construction

6_typelessProc.alw procedure which return nothing

6_intProc.alw procedure which return integer number

6_realProc.alw procedure which return real number

7_string.alw printing of string constants

7_length.alw length of string constant

7_outchar.alw output of character

7_inchar.alw read of character

7_terminator.alw delimiter (space) output

8_fileWrite.alw writing to the file

8_fileRead.alw reading from the file

9_string.alw

9_stringwrite.alw

9_stringread.alw

9_stringempty.alw

9_substring.alw

10_recordPoint.alw

10_distance.alw

10_recordLine.alw

10_recordPoint.alw

11_algol.alw