Properties - General

Top  Previous  Next

 

For an ordinary Pascal Analyzer project, the General tab looks like this:

 

clip0010

 

Main file

Select either a single source file for analysis, or an entire Delphi project (DPR-file), or an entire Borland Pascal project (PAS-file). You can also select a Delphi package (DPK file).

 

 

Selected files

There are three possible settings:

 

All files

PAL will parse and analyze all found files

 

Main files and directly used (default)

The main files and those files (units) that are listed in the uses lists of the main file, will be parsed and analyzed.

 

Main file

Only the main file will be parsed and analyzed

 

 

Report root folder

Specify the folder where PAL writes the report files upon completion of the analysis.

For example, if a project called “MyProject” is analyzed, the report files will be written to a folder “\MyProject” just below the report root folder. The folder will be created if it does not exist.

 

The default output root folder is in a folder below "My Documents", like

"C:\Documents and Settings\<account>\My Documents\Pascal Analyzer\Projects\Output".

 

The files are named MYPROG.TXT (or MYPROG.HTM for HTML reports) when MYPROG is examined. If the backup option is selected and a file with the same name exists, this file is saved under the name MYPROG.~XT (or MYPROG.~TM for HTML reports).

 

 

Create backup of report files

Default = Yes

 

Mark this checkbox if PAL should create backup files when reports are written. Backup files are given the extension ~XT (or ~TM for HTML reports or ~ML for XML reports). Whenever a new report text file is written, any existing report file will be copied to a backup file.

 

 

Show constants

Default = Yes

 

If you select this option, constants are reported.

Show types

Default = Yes

 

If you select this option, types are reported.

 

Show subprograms

Default = Yes

 

If you select this option, subprograms (procedures/functions) are reported.

 

Show variables

Default = Yes

 

If you select this option, variables are reported.

 

Show labels

Default = Yes

 

If you select this option, labels are reported.

Show class fields

Default = Yes

 

If you select this option, class fields are reported.

 

Show parameters

Default = Yes

 

If you select this option, parameters are reported.

 

Show record fields

Default = Yes

 

If you select this option, record fields are reported.

 

Show properties

Default = Yes

 

If you select this option, properties are reported.

 

Show local identifiers

Default = Yes

 

If you select this option, local identifiers are reported.

 

Sort mode for report identifier lists

Default is sorting by Name-Module-Kind

 

Select the type of sorting you want for identifier lists in the reports. This option affects all reports that show identifier in lists.

 

Sort modes:

 

Name–Module-Kind (sort first by Name, then by Module, then by kind of identifier)

Name-Kind-Module

Module-Name-Kind

Module-Kind-Name

Kind-Name-Module

Kind-Module-Name

 

When a multi-project is currently active, the General tab has another content:        

 

Multi-projects

Press the ellipsis button to select the Pascal Analyzer projects that make up the multi-project. A multi-project must have at least two connected projects.

 

Remove

Press this button to remove a project from the list.

 

Exclude identifiers from these folders

Press the ellipsis button to select folders that will be excluded from reports.

 

The rest of the fields on this tab page have the same meaning as for ordinary projects.

 

 

See also:

 

Options menu

Properties - Format

Properties - Parser

Properties - Reports

Properties - Source

Properties - Switches