sub module
- microdevweb
- Enthusiast
- Posts: 179
- Joined: Fri Jun 13, 2014 9:38 am
- Location: Belgique
sub module
That will very great if we can create a module into an another module
Use Pb 5.73 lst and Windows 10
my mother-language isn't english, in advance excuse my mistakes.
my mother-language isn't english, in advance excuse my mistakes.
- StarBootics
- Addict
- Posts: 984
- Joined: Sun Jul 07, 2013 11:35 am
- Location: Canada
Re: sub module
-1 I disagree with that. What we really need is Namespace/EndNamespace and in that Namespace you can add as many modules as you want.
I could look like that :
And to access it in the code later on :
Best regards
StarBootics
I could look like that :
Code: Select all
Namespace Maths
DeclareModule Vector2
...
EndDeclareModule
Module Vector2
...
EndModule
DeclareModule Vector3
...
EndDeclareModule
Module Vector3
...
EndModule
EndNamespace
Code: Select all
Maths::Vector2::SomeProcedure()
StarBootics
The Stone Age did not end due to a shortage of stones !