Harbour Reference Guide

 

TOs2()

OS/2 Documentation Class

Syntax

oNg:=TOs2():New(<cFile>) --> oOs2

Arguments

<cFile> Name of the IPF Source file to create

Returns

<oOs2> An instance of the TOs2 Class

Description

TOs2() is a class that creates the OS/2 IPF Source of the same name you pass to the constructor.
The class methods are as follows:
New(<cFile>) Create a new instance of the TOs2 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
WriteLink(<cLink>) Write a link to another topic
ScanLink(<clink>) Scan the aLinkRef array for a valid topic
DosToOs2Text(<cText>) Convert a Dos string to a OS/2 String
Examples
      FUNCTION MAIN()

      LOCAL oNg

      oNg := TOs2():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

 




[Source Forge]

Other Docs Categories

Advantage Database RDD
Array
Binary conversion
Classes
Code Block
Console input
Conversion
Conversion Tools
DOS
Data input and output
Database
Database Tools
Date
Dos Tools
Environment
Error recovery
Events
File management
GT
Harbour Tools
Internal
Low Level
Math
Misc
Miscellaneous
Nation
Object manipulation
Operating System Specific
Parameter Checks
String Tools
Strings
TBrowse Method
TBrowse class
Terminal
Time
Utility
Variable Management

 

Last updated on 2001/07/30