import flags (Request? )

BlitzMax Forums/BlitzMax Programming/import flags (Request? )

Dreamora(Posted 2006) [#1]
Does BM feature anything like static import or import flags?


I realized that currently, there are 2 major drawbacks with import:


1. You can't make the imported stuff private, because private is not allowed before import.

2. You can not statically link to a different module when creating modules! This is a major problem as it does not allow users to create modules basing on others as the other modules need to be present ...
This is a serious problem if one is buying a module, lets assume one of indipaths modules, because it is not possible to restrict the usage of this module within the own, new module ... they will have exactly the same module.


This is actually drastically reducing the use of modules at all ...

I understand that most module won't need static links or flags to prevent functionality export ... but still, its part of a "modularized" system, be able to define what users of the module can use and what not, even on imported / extended stuff.