Types !?.. Confused !
Blitz3D Forums/Blitz3D Beginners Area/Types !?.. Confused ! Paul,
Check out the excellent tutorials on Blitzcoder, there is one for TYPE newbies.
It is not too difficult, but you do need to follow the process.
IPete2.
Check out the excellent tutorials on Blitzcoder, there is one for TYPE newbies.
It is not too difficult, but you do need to follow the process.
IPete2.
Type YourParticularType
field x#
field y#
end type
dim MyArrayOfTypes.YourParticularType(5)
for i=0 to 5
MyArrayOfTypes(i)=new yourParticularType
next
and to reference them
myarrayoftypes(index)\x
field x#
field y#
end type
dim MyArrayOfTypes.YourParticularType(5)
for i=0 to 5
MyArrayOfTypes(i)=new yourParticularType
next
and to reference them
myarrayoftypes(index)\x
Here is how I once used an array of types:
www.blitzbasic.com/Community/posts.php?topic=41076
Look down the page about 3/4 of the way for one of my posts about the Pitfall II remake I did.
www.blitzbasic.com/Community/posts.php?topic=41076
Look down the page about 3/4 of the way for one of my posts about the Pitfall II remake I did.