SetRowText Method (DATATABLE)


10.5, PLBCMP GUI Only

 

The SetRowText method changes the text of a row within a DATATABLE. The method uses the following format:

 

[label]

{object}.SetRowText

[GIVING {return}]:

 

 

USING [*Row=]{row}[:

 

 

[*Text=]{text}[:

 

 

[*Col=]{column}]

 

Where:

label

Optional. A Program Execution Label.

object

Required. A DATATABLE object.

return

Optional. A Numeric Variable that indicates the success or failure of the method.

row

Required. A Numeric Variable that specifies the row accessed.

text

Required. A Character String Variable or literal that specifies the text to be assigned to a row column.

column

Optional. A Numeric Variable that specifies the 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. A zero {return} value indicates a failure.

  3. The ZERO flag is set if the {return} value is zero.

  4. The OVER flag is set if the {return} variable is too small to receive the return value.

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

 

 

See Also: Method Syntax, DATATABLE Methods

 



PL/B Language Reference SaveCSVFile Method (DATATABLE) SetRowTextAll Method (DATATABLE)