File Variables
Argument passing - Subroutines and Functions - Mike Pope
RevTech Replies - Mike Pope (RevTech UK Ltd)
Symbol Table Structure
RTP Series - RTP11
RTP Series - RTP43
@ATTACK - @Rn.Counter
Merge Processor
Version 2
Directory Exists on Novell
Gas Bar
Prompt Help
DOS Interfacing (Part II)
@ATTACK - @Help.Level
@ATTACK - @StatList
QTIPS - Standardising Error Message Display
Video Control
Customising the Status Line
Gas Bar
@ATTACK - @Rn.Counter
QTIPS - Replacing GAS.BAR routine during PERFORM "SELECT"
QTIPS - Inconsistent @Variable Behaviour
Reader's Clinic - Functions and Subroutines
Argument passing - Subroutines and Functions - Mike Pope
QTIPS - Using @Upper.Case and @Lower.Case with Foreign Languages
@ATTACK - @Lower.Case
@ATTACK - @Upper.Case
Sorting out Collation Sequences by Mike Pope
DOS Interfacing (Part II)
Reader's Clinic - Preventing Records Being Amended
How Indexes Are Updated
A RevTechie Replies - And Miscellaneous Jottings - Mike Pope - Revelation Technologies (UK) Ltd
Caching in on the Frames Array - Mike Pope
QTIPS - Improving the LH_VERIFY Window
@ATTACK - @File.Error
@ATTACK - @Rn.Counter
Reader's Clinic - Related Windows
Reader's Clinic - Incorrect Indexes
Vroom
RTP Series - RTP20
RTP Series - RTP12
Form.List.S
VERBatim - V5
@ATTACK - @Last.Select.Process
@ATTACK - @Save.Select
QTIPS - File Variable of File In SELECT Statement
QUERY.SUB
REVMEDIA Revisited
QTIPS - Extended Select Syntax
Spindex - A Review
Spindex vs BondTRV
REVMEDIA Revisited
QTIPS - Replacing GAS.BAR routine during PERFORM "SELECT"
QTIPS - Extended Select BY
QTIPS - EasyWriter
QTIPS - MFS - Select.Index
@ATTACK - @Return.Value
SecureUser
VERBatim - V86
Advanced Revelation Initialisation Sequence (Overview) by Mike Pope
Reader's Clinic - Page Marks in Windows

RevMedia FKB

DocumentV2I5A20
Title@ATTACK - @Rn.Counter
Keywords@RN.COUNTER
READNEXT
STATUS()
TextThis variable is automatically incremented by the READNEXT processor Note
however that no check is made for the status of @RN COUNTER at the start of
the READNEXT so it is the responsibility of the programmer to ensure that
@RN COUNTER is initialised to 0 before entering the LOOP

Note ALSO that none of the special READNEXT modes implemented in 1 1 treat
@RN COUNTER differently That is to say non terminating READNEXT commands
will continue to increment when the first id in the list is reached again
Further if the DIRECTION of READNEXT is changed @RN COUNTER is not
decremented

@RN COUNTER merely records how many READNEXTs have been performed As the
REDUCE subroutine only returns ids to a READNEXT that match the specified
criteria it is worth remembering that in the case of a non resolved select
list @RN COUNTER may not be equal to the amount of records read FROM disk

1 1 documentation records that STATUS() may be used to check whether a non
terminating READNEXT has returned to the beginning of the select list
Whilst this was not true in version 1 1x it is true in version 2 0 When the
READNEXT begins STATUS() is set to 0 The value of STATUS() changes to 1
when the first id in the select list is reached again that is when the
non terminating select list has been completely traversed for the first
time Note that it then remains WITH a value of 1 until RESET by the user
Can be amended


(Volume 2 Issue 5 Page 11) and continued on
(Volume 2 Issue 6 Page 8)
[revmedia/copyrigh.htm]

Page last modified: 08/02/03