CURRIND

Contents


currind determines the key number used during the last access to a table.

 

Syntax

   Shortint [G:abv]currind

 

Examples

   # But what was the last key of access to the INXS table?
    File INXS [XX]
  Read [XX]CLE(2) >= 1, date$
   # ...
  # Further in the process
    If [G:XX]currind > 0
       Infbox [G:XX]keyname( [G:XX]currind - 1 )  :# Display the name
  Endif

 

Description and Comments

currind is an Adonix system variable of the [G] class associated with a table declared by the File command. It contains the key number used during the last access to an indexed sequential file, i.e., its row in the list of the declared keys - either in an Order By clause or in parameter definitions.

 

Associated Errors

No associated error

 

Associated Keywords

CURRLEN - KEYLEN - KEYNAME - NBZON - NBIND - FILE - ORDER


CONTENTS


Copyright © Sage 1999 - 2007