functions or types

Blitz3D Forums/Blitz3D Programming/functions or types

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.

Well, soja. I wouldn't really do

Dim Lives(4)
Dim Score(4)
Dim Name$(4)


Rather:

x=4 ; number of players
y=4 ; number of attributes
dim stuff(x,y)


Types and arrays are very much alike. I like arrays better now, because there alot easier to access. Type are easier to follow tho :)