Protected Structure types

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
GedB
Addict
Addict
Posts: 1313
Joined: Fri May 16, 2003 3:47 pm
Location: England
Contact:

Post by GedB »

Modules, namespaces, anything that helps with building a larger project.
Thalius
Enthusiast
Enthusiast
Posts: 711
Joined: Thu Jul 17, 2003 4:15 pm
Contact:

Post by Thalius »

hmmm - i find defining Structs in a Procedure rather ugly - altho i udnerstand the problem - but then again isnt that exactly what EXTENDS is for ? i mean you could build your rootstruct with substructs that way - in clever procedures you just deliver a pointer to ( with the appropriate structure info which could be splitted by EXTENDS or foo.Structwhatsoeverflowersetc anyway. Used from C that structures are kept mostly in header files anyway i think it would hurt the readability of the code alot if you were to define local structs procedure interna.

Thalius
"In 3D there is never enough Time to do Things right,
but there's always enough Time to make them *look* right."
"psssst! i steal signatures... don't tell anyone! ;)"
Post Reply