xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

HB_FSelect()

Queries or changes the currently selected text file area.

Syntax

HB_FSelect( [<nNewArea>] ) --> nOldArea

Arguments

<nNewArea>
This is a numeric value between 1 and 10 specifying the text file area to select as current. The number of text file areas is limited to 10.

Return

The function returns the previously selected text file area as a numeric value.

Description

Text files opened with HB_FUse() are open in one of ten text file areas. This is similar to the work area concept of databases. However, a text file area cannot be addressed via alias names. All text file functions operate only in the currently selected text file area.

Info

See also:HB_FLastRec(), HB_FGoto(), HB_FReadLN(), HB_FSkip(), HB_FUse()
Category: File functions , Text file functions , xHarbour extensions
Source:misc\hb_f.c
LIB:libmisc.lib


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe