Re: Don't understand manual.
- Posted by _tom (admin) Sep 16, 2013
- 1402 views
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