rem Types and functions: constants - OpenDBC tutorial (DarkBASIC Professional) sync on : sync rate 60 autocam off color backdrop rgb(16, 18, 30) #constant BALLS 12 rem BALLS is replaced by 12 before the program runs for i = 1 to BALLS make object sphere i, 6 position object i, -55 + i * 9, 0, 0 color object i, rgb(80 + i * 14, 120, 255 - i * 14) next i position camera 0, 25, -75 point camera 0, 0, 0 do text 10, 10, "BALLS = " + str$(BALLS) sync loop