Re: Don't understand manual.

new topic     » goto parent     » topic index » view thread      » older message » newer message
DonCole said...

From the manual:

If the keyword public precedes the declaration, the scope extends to any file that explicitly includes the file in which the identifier is declared, or to any file that includes a file that in turn public includes the file containing the public declaration.

Agreed, this is hard to understand as written.

Take a look at http://openeuphoria.org/wiki/view/Three%20File%20Scope%20Example.wc (a miniguide in the wiki).

Does this explanation of export compared to public make sense to you?

_tom

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu