Chapter Contents

Previous

Next
_CURCOL_

_CURCOL_



Contains the value of the leftmost column in an extended table control in a FRAME entry

Category: System Variable


Details
Example
See Also


Details

_CURCOL_ is a system variable. It is provided automatically by the FRAME entry in SAS/AF, and the SCL compiler automatically creates a space for it in the SCL data vector.

The value of _CURCOL_ is updated when the getrow or putrow section or the _getrow or _putrow method of an extended table is executing. Therefore, _CURCOL_ must be referenced only within these sections.

_CURCOL_ is available only in SAS/AF FRAME entries.


Example

Suppose you have a text entry control, TEXT, in an extended table control. TEXT is assigned a value in the getrow section, based on a substring of a longer string. When the extended table is scrolled left and right, the value of _CURCOL_ is updated and is used as the position argument to the SUBSTR function.

GET1:
   text = substr( longstring, _curcol_ );
return;

For more information about extended table controls for horizontal scrolling, see the documentation for SAS/AF classes.

See Also

_CURROW_


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.