aboutsummaryrefslogtreecommitdiff
path: root/examples/from.prose
blob: 746371d5727a236538d338244da2c76a6843bf6c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
* 'from' loop example
function foo
	procedure
		from 0 to 3
			display "\tfoo"
		end

public function main
	linkage
		status word
	storage
		iterator ulong
	procedure returning status
		from 0 to 8
			display "hello"
			call foo
		end

		set status to 0