|
Post by Darkjester on Feb 5, 2009 14:24:32 GMT -5
i was playing with freebasic, and was playing with Type(basically the same as a structure) and noticed it had things such as private and public "scope" as well as the ability to prototype subs inside of a "type"
ex
Type vector3 private: dim vector as int public: dim x as single dim y as single dim z as single declare function addvec(parama, paramb) end type
and shared..
dim shared proccnt as single
with the types since prototyped in a type
called like
....type code as above dim vector3 &vect
vect.addvec(parama, paramb)
does this make sense?
can these be implemented into basic4gl?
-Darkjester
|
|