xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

FParseEx()

Parses a delimited text file and loads it into an array (optimized).

Syntax

FParseEx( <cFileName>, [<cDelimiter>] ) --> aTextArray

Arguments

<cFileName>
This is a character string holding the name of the text file to load into an array. It must include path and file extension. If the path is omitted from <cFileName>, the file is searched in the current directory.
<cDelimiter>
This is a single character used to parse a single line of text. It defaults to the comma.

Return

The function returns a two dimensional array, or an empty array when the file cannot be opened.

Description

Function FParseEx() is a speed optimized version of FParse(). Refer to FParse() for more information.

Info

See also:FParse()
Category: File functions , xHarbour extensions
Source:rtl\fparse.c
LIB:xhb.lib
DLL:xhbdll.dll


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