view samples/private.tp @ 345:6bbf12c203f7

Actually call SDL_WaitEvent rather than SDL_PollEvent in the waitEvent method
author Michael Pavone <pavone@retrodev.com>
date Wed, 08 Apr 2015 19:29:52 -0700
parents cd41f7c22fcd
children
line wrap: on
line source

#{
	makeobj <- {
		foo <- 40
		#{
			bar <- {
				foo
			}
			inc <- {
				foo <- foo + 1
				1
			}
		}
	}
	main <- {
		baz <- makeobj:
		inc: baz
		inc: baz
		bar: baz
	}
}