LabWindows/CVI

Ini_LineOfLastAccess

int Ini_LineOfLastAccess (IniText handle);

Purpose

Obtains the 1–based index of the line of the file the was the source of the last tag/value pair accessed by one of the Ini_Get... functions.

This information can be useful when reporting an error while processing an .ini style file.

Parameters

Input
Name Type Description
handle IniText A handle returned from Ini_New. It represents the list of in-memory tag/value pairs.

Return Value

Name Type Description
lineNumber int The 1–based index of the line of the file the was the source of the last tag/value pair accessed by one of the Ini_Get... functions.

Additional Information

Library: Reading/Writing .ini-Style Files

Include file: toolbox\inifile.h

LabWindows/CVI compatibility: LabWindows/CVI 4.0 and later