Style Conventions
|
Style
|
Example
|
Description
|
|
User Interface Elements
|
On the File menu, click Open.
|
User interface elements appear in bold when referenced in tasks.
|
|
Variables
|
fileName
|
Variables appear in italics.
|
|
Code
|
#define HWND_BROADCAST 0xffff
|
Code snippets appear in a monospace typeface.
|
|
User Inputted Text
|
Type $D(install).
|
Text that is to be entered as a literal value is displayed in a monospace typeface, in bold, and in blue.
|
|
File Name and Directory Paths
|
My files are located in the C:\MyDocuments\SampleCode directory.
|
File names and directory paths are presented in a monospace typeface.
|
|
.INI File Text
|
Insert the line LimitedUI=Y into the file to display only the Welcome dialog box when the Windows Installer package is run.
|
Text in .INI files is presented in a monospace typeface.
|
|
Command-Line Statements
|
To run the installation silently, enter:
Setup.exe /s /v/qn
|
Command-line statements and parameters are presented in a monospace typeface.
|
|
Environment Variables
|
Set the value of the windir environment variable to your
|
Environment variables are presented in a monospace typeface.
|
|
Examples
|
Create two groups, one called Admins and the other called General.
|
Examples are presented in bold.
|
|
Functions
|
FeatureAddItem adds a new feature to a script-created feature set.
|
Functions are presented in bold.
|
|
Properties
|
In the Name property, enter a name for this custom control that is unique among all of the controls in your project.
|
Properties are presented in bold.
|
|
Screen Output
|
If you type an incorrect parameter, the message The system cannot find the path specified. is displayed.
|
Screen output (from a log file or from the console) is displayed in a monospace typeface, and in blue.
|