Pragma: UseCmdArgs
Pragma: UseUtils

BeginProgram: Iteration1

BeginMain:
	ScalarDecl: <int> max = 5
	BeginIf: program_args_equal(1)
		Assign: max = stoi_w_default(program_arg(1), 5)
	EndIf
	BeginFor: <int> i_ in XRANGE(0, max)
		PrintLine: "Hello, world!"
	EndFor
EndMain
EndProgram
