Release 10.1A: OpenEdge Development:
Programming Interfaces

> ## prowtr() - Write RECID Variable

> The `prowtr()` function writes an integer value to a shared `RECID` variable.

> On successful completion, `prowtr()` returns 0; otherwise, it returns a non-zero value:

> #### Syntax

>     int
>     prowtr ( psymnam, index, var, unknown )
>       char *psymnam;
>       int   index;
>       long  var;
>       int   unknown;

> `psymnam`

> This input parameter points to the name of the specified shared variable. You supply the name from your OpenEdge application.

> `index`

> This input parameter specifies an index value for an array variable. If the variable is not an array, you must set the value of index to 0.

> `var`

> This input parameter contains the integer value for the specified `RECID` variable.

> `unknown`

> If this input parameter contains the value 1, the Unknown value (`?`) is assigned to the variable. If this input parameter contains the value 0, the input value contained in var is assigned to the variable.

> #### See also

> prortr(), prowtc() - Write CHARACTER Variable, prowtd() - Write DATE Variable, prowti() - Write INTEGER Variable, prowtl() - Write LOGICAL Variable, prowtn() - Write DECIMAL Variable

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095