openDir()  posCurrent()

Chapter 5: General Objects and Methods

pos()

Description

Determines the location of the file position indicator in an I/O file object’s associated file.

Syntax

pos();

Return value

Integer. Returns the value of the file position indicator, if successful, and -1, if failed.

Usage

Pointer to object

Object

long rv;rv = piof->pos();

long rv;rv - myiofobj.pos();





Copyright © 2005. Sybase Inc. All rights reserved. posCurrent()

View this book as PDF