We recommend using Visual Studio 2017



The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at PUBLIC (MASM).

Makes each variable, label, or absolute symbol specified as name available to all other modules in the program.

PUBLIC [[langtype]] name [[, [[langtype]] name]]...  

Directives Reference