GetRowText Method (DATATABLE)


10.5, PLBCMP GUI Only

 

The GetRowText method returns the text for a specfied row in a DATATABLE. The method uses the following format:

 

[label]

{object}.GetRowText

[GIVING {return}]:

 

 

USING [*Row=]{row}[:

 

 

[*Col=]{column}]

 

Where:

label

Optional. A Program Execution Label.

object

Required. A DATATABLE object.

return

Optional. A Character String Variable that receives the item's text.

row

Required. A Numeric Variable that specifies the zero-based row accessed.

column

Optional. A Numeric Variable that specifies the zero-based column accessed.

Flags Affected: EOS, OVER, ZERO

Note the following:

  1. If the column parameter is not used, the default value of zero is used.

  2. The EOS flag is set if the {return} variable is too small and the return data must be truncated.

  3. The ZERO and OVER flag are always cleared.

  4. If a {column} is not specified, the default value is zero (0).

 

 

See Also: Method Syntax, DATATABLE Methods

 



PL/B Language Reference GetRowNum Method (DATATABLE GetRowTextAll Method (DATATABLE)