Format a Device


Section contents


Overview

Defined in

cfile.oxh


Construction / destruction


NewFormat - Constructor

Usage

this& = NewFormat&:

Description

The C++ constructor constructs the FindFprmat object.

Return Value
this& An value which represents the created format entry
Error Handling

If the object could not be created then an error is generated which should be trapped by an ONERR handler.

Example
  LOCAL this&

  this& = NewFormat&:(fs&)
  DeleteFormat:(this&) 

DeleteFormat - Destructor

Usage

DeleteFormat:(BYREF this&)

Description

Destroys the format object.

Arguments
BYREF this& A handle to a format object
Example
  LOCAL this&

  this& = NewFormat&:
  DeleteFormat:(this&) 

Methods provided


FormatClose - close

Usage

FormatClose:(this&)

Description

TBS

Arguments
this& A handle to a format object

FormatNext - next

Usage

result% = FormatNext%:(this&, BYREF step&)

Description

TBS

Arguments
this& A handle to a format object
BYREF step& TBS
Result
result% TBS

FormatNextA - next

Usage

FormatNextA:(this&, des&, BYREF status&)

Description

TBS

Arguments
this& A handle to a format object
des& TBS
BYREF step& TBS

FormatOpen - open

Usage

result% = FormatOpen:(this&, fs&, name$, mode%, BYREF count&)

Description

TBS

Arguments
this& A handle to a format object
fs& A handle to a file server object
name$ TBS
mode% The format mode
BYREF step& TBS
Result
result% TBS