
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Harbour tools help- GT lib - Norton Guide
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
TNortonGuide()
Norton Guide Class
---------------------------------------------------------------------------------
Syntax
oNg:=TNortonGuide():New(<cFile>) --> oNg
Arguments
<cFile> Name of the Ng Source file to create
Returns
<oNg> An instance of the TNortonGuide Class
Description
TNortonGuide() is a class that creates the Norton Guide Source Code
of the same name you pass to the constructor.
The class methods are as follows:
New(<cFile>) Create an instance of the TNortonGuide class
Close() Close the created file
WriteTitle(<cTopic>,<cTitle>) Write the file title
WritePar(<cPar>) Write a paragraph
WriteParBold(<cPar>) Same as WritePar(), but the text is bold
WriteLink(<cLink>) Write a link to another topic
Examples
FUNCTION MAIN()
LOCAL oNg
oNg := TNortonGuide():New( "ngi\harbour.ngi" )
oNg:WriteTitle( "Harbour Reference Guide" )
oNg:WritePar( "HARBOUR" )
oNg:WriteLink( "OverView" )
oNg:WriteLink( "License" )
oNg:WritePar( "See the Links Above" )
oNg:Close()
RETURN Nil
Status
Ready
Compliance
This is a new Harbour Tools class
Platforms
ALL
See Also: TTroff() TRtf() THtml() TOs2()
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson