Code center > Darwinbots Program Source Code
Types and members
Zelos:
I know it has nothing to do with this, once again, but when I see
rob(Shots(t).Parent).kills
I see tehre is "."s and when I try in vb to use "." it just complain, why?
Numsgil:
The . only works if the thing in front of it is a class or a type.
Zelos:
oh, and how do I make a class/type and what do they serv for purpose?
Numsgil:
Types are logical units you can use to combine variables togehter with.
For instance, if you have a point, it would be good to define it thusly:
type point
x as single
why as single
end type
instead of:
x as single
why as single
by themselves.
Numsgil:
Hehe, the filter problem ;)
Navigation
[0] Message Index
[#] Next page
Go to full version