Best way to use functions?

Blitz3D Forums/Blitz3D Programming/Best way to use functions?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

ok, so it will be somthing like this?

1. constants
2. types
3. globals
4. graphic setup
5. keyboard_config()
6. display_hud()
7. map_loading()
8. setup_collisions()
9. ---main loop
---------conditions()
------end loop

highscore()

10. functions
keyboard_config()
display_hud()
map_loading()
setup_collisions()
conditions()
highscore()

is it better?

matt.