RAD Studio |  |

Declaring A namespace
See Also
Collapse All

An original namespace declaration should use an identifier that has not been previously used as a global identifier.

Copy Code

        namespace alpha {  /* ALPHA is the identifier of this namespace. */
          /* your program declarations */
          long double LD;
          float f(float y) { return y; }
          }

A namespace identifier must be known in all translation units where you intend to access its elements.

See Also

namespace Alias

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!