Unit ok_helpinsight_comments

Description
Functions and Procedures

Description

Test of handling help insight comments, in the form "/// <tag> ... </tag>". See http://delphi.wikia.com/wiki/Help_insight, example snippet with Parse function is straight from there. See https://sourceforge.net/tracker/?func=detail&atid=304213&aid=3485263&group_id=4213.

Overview

Functions and Procedures

procedure Parse(const _CmdLine: string);
procedure PascalCodeSample;
procedure MultilineCodeSample;
procedure MultilineSummaryExample;

Description

Functions and Procedures

procedure Parse(const _CmdLine: string);

parses the commandline

Parameters
CmdLine
is a string giving the commandline. NOTE: Do not pass System.CmdLine since it contains the program's name as the first "parameter". If you want to parse the commandline as passed by windows, call the overloaded Parse method without parameters. It handles this.
procedure PascalCodeSample;

Pascal code sample.

var
   A: Integer;
 begin
   A := 1 + 2 + 3;
 end;

procedure MultilineCodeSample;

Multiline code sample.

# Sample bash script
 echo "Hello, World!"
 echo "This is a multiline code sample."

procedure MultilineSummaryExample;

Multiline summary example. This is the second line of the summary.