"SfR Fresh" - the SfR Freeware/Shareware Archive 
As a special service "SfR Fresh" has tried to format the requested source page into HTML format using source code syntax highlighting with prefixed line numbers.
Alternatively you can here view or download the uninterpreted source code file.
That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
1 '
2 ' ####################
3 ' ##### PROLOG #####
4 ' ####################
5 '
6 PROGRAM "acolumns"
7 VERSION "0.0001"
8 '
9 DECLARE FUNCTION Entry ()
10 '
11 '
12 ' ######################
13 ' ##### Entry () #####
14 ' ######################
15 '
16 FUNCTION Entry ()
17 '
18 number = 1234
19 string$ = "text"
20 '
21 PRINT "-----------"
22 result$ = FORMAT$ ("<<<<<<<<<<<", string$) : PRINT result$ ' left
23 result$ = FORMAT$ ("|||||||||||", string$) : PRINT result$ ' center
24 result$ = FORMAT$ (">>>>>>>>>>>", string$) : PRINT result$ ' right
25 PRINT "-----------"
26 '
27 width = 11
28 result$ = FORMAT$ (CHR$('<',width), string$) : PRINT result$ ' left
29 result$ = FORMAT$ (CHR$('|',width), string$) : PRINT result$ ' center
30 result$ = FORMAT$ (CHR$('>',width), string$) : PRINT result$ ' right
31 PRINT "-----------"
32 '
33 result$ = LJUST$ (string$, width) : PRINT result$ ' left
34 result$ = CJUST$ (string$, width) : PRINT result$ ' center
35 result$ = RJUST$ (string$, width) : PRINT result$ ' right
36 PRINT "-----------"
37 '
38 result$ = FORMAT$ ("###########", number) : PRINT result$ ' number-right
39 result$ = FORMAT$ (CHR$('#',width), number) : PRINT result$ ' number-right
40 PRINT "-----------"
41 '
42 result$ = RJUST$ (STRING$(number), width) : PRINT result$ ' number-right
43 result$ = CJUST$ (STRING$(number), width) : PRINT result$ ' number-center
44 result$ = LJUST$ (STRING$(number), width) : PRINT result$ ' number-left
45 PRINT "-----------"
46 '
47 width1 = 4
48 width2 = 5
49 width3 = 6
50 width4 = 7
51 '
52 FOR i = 1 TO 8
53 number1 = i
54 number2 = i * i
55 number3 = i * i * i
56 number4 = i * i * i * i
57 name$ = "heading " + CHR$('>',i)
58 PRINT RJUST$(name$,20); FORMAT$(CHR$('#',width1),number1); FORMAT$(CHR$('#',width2),number2); FORMAT$(CHR$('#',width3),number3); FORMAT$(CHR$('#',width4),number4)
59 NEXT i
60 PRINT "-----------"
61 END FUNCTION
62 END PROGRAM