getData()  getData()

Chapter 5: General Objects and Methods

getData()

Description

Gets unsigned short data from the clNdo object.

Syntax

getDataUnsigned({short | long} {*pShort | *pLong})

Parameter

Description

pShort

Pointer to unsigned short data to store the data from the clNdo.

pLong

Pointer to unsigned long data to store the data from the clNdo.

Return value

Integer. Returns 1 for success, and 0 for failure.

Usage

Pointer to object

Object

int rv;unsigned short s;clNdo *pCINdo1;

.

.

rv = pCINdo1->getData(&us);

or

int rv;unsigned long ul;clNdo *pClNdo1;

.

.

rv = pCINdo1->getData(&ul);

int rv;unsigned short s;clNdo clNdo1;

.

.

rv = clNdo1.getData(&us);

or

int rv;unsigned long ul;clNdo clNdo1;

.

.

rv = clNdo1.getData(&ul);





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

View this book as PDF