on foo
	GLOBAL gGaribaldi
	GLOBAL gArray
	-- loop over gArray
	put 10 into x
	repeat while x > 0
		put 5 into y
		-- loop over entries of gArray
		repeat while y > 0
			put gGaribaldi && x & "." & y into entry y of entry x of gArray -- add data
			put y-1 into y
		end repeat
		put x-1 into x
	end repeat
end foo

on startUp
	GLOBAL gGaribaldi
	GLOBAL gArray
	put "Mike" into gGaribaldi
	put "Testing globals, subroutines and arrays:" &return
	foo
	
	put 10 into x
	repeat while x > 0
		put 5 into y
		repeat while y > 0
			put "entry" && x & "." & y & ":" && entry y of entry x of gArray &return
			put y-1 into y
		end repeat
		put x-1 into x
	end repeat
end startUp