About classes inside interfaces

  • Thread starter parag_paul@hotmail.com
  • Start date
On Oct 15, 12:12 pm, "parag_p...@hotmail.com" <parag_p...@hotmail.com>
wrote:
Can this be possible.
-Parag
Yes, you can declare a class anywhere you could declare a bit.
However, like any user defined type (e.g. a struct) you would only be
able to declare variables of that type inside the scope of where
declared the type. It's better to define classes and other user
defined types inside packages. That way all modules/interfaces/
programs can share and communicate between them.

Dave
 

Welcome to EDABoard.com

Sponsor

Back
Top